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:
parent
b766109224
commit
d648f56989
1 changed files with 4 additions and 2 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue