HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
554137a
)
allow kwargs to repl metacommands
author
Andy Wingo
<wingo@pobox.com>
Sat, 26 Jun 2010 19:46:28 +0000
(21:46 +0200)
committer
Andy Wingo
<wingo@pobox.com>
Sat, 26 Jun 2010 19:46:42 +0000
(21:46 +0200)
* module/system/repl/command.scm (define-meta-command): Allow repl
meta-commands to have optional or keyword arguments.
module/system/repl/command.scm
patch
|
blob
|
blame
|
history
diff --git
a/module/system/repl/command.scm
b/module/system/repl/command.scm
index
9e79eb7
..
ca44c90
100644
(file)
--- a/
module/system/repl/command.scm
+++ b/
module/system/repl/command.scm
@@
-136,7
+136,7
@@
((language-reader (repl-language repl))
port (current-module))))))
...)
- (apply (lambda datums b0 b1 ...)
+ (apply (lambda
*
datums b0 b1 ...)
(let ((port (open-input-string (read-line repl))))
(let lp ((out '()))
(let ((x (read port)))