1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00

lambda* in make-prompt-tag

* module/ice-9/boot-9.scm (make-prompt-tag): Use lambda*.
This commit is contained in:
Andy Wingo 2010-05-21 23:32:43 +02:00
parent b766109224
commit d648f56989

View file

@ -48,8 +48,10 @@
;; Define delimited continuation operators, and implement catch and throw in
;; terms of them.
(define (make-prompt-tag . stem)
(gensym (if (pair? stem) (car stem) "prompt")))
(define make-prompt-tag
(lambda* (#:optional (stem "prompt"))
(gensym stem)))
(define default-prompt-tag
;; not sure if we should expose this to the user as a fluid
(let ((%default-prompt-tag (make-prompt-tag)))