;;;; srfi-11.scm --- SRFI-11 procedures for Guile
-;;; Copyright (C) 2000 Free Software Foundation, Inc.
+;;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
;;;
;;; This program is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU General Public License as
;;; If you do not wish that, delete this exception notice.
(define-module (srfi srfi-11)
- :use-module (ice-9 syncase))
+ :use-module (ice-9 syncase)
+ :export-syntax (let-values let*-values))
(cond-expand-provide (current-module) '(srfi-11))
(define (let-values-helper vars body prev-let-vars)
(let* ((var-binding (car vars))
- (new-tmps (map-1-dot (lambda (sym) (gentemp))
+ (new-tmps (map-1-dot (lambda (sym) (gensym))
(car var-binding)))
(let-vars (map (lambda (sym tmp) (list sym tmp))
(undot-list (car var-binding))
; (if (null? vars)
; `(begin ,@body)
; (let-values-helper vars body)))
-
-(export-syntax let-values
- let*-values)