The closure library was designed just for the Web language, which operates after expansion, so it never saw normal lambdas. The documentation, however, advertises it for general use and it disallowed keyword arguments. This fixes that problem.
svn: r17844
This commit is contained in:
parent
024f635203
commit
364e4ff3d5
|
@ -78,9 +78,12 @@
|
|||
; prop-vals:
|
||||
(list (cons prop:serializable #,CLOSURE:serialize-info-id)
|
||||
(cons prop:procedure
|
||||
(#%plain-lambda (clsr . args)
|
||||
(let-values ([#,fvars ((CLOSURE-ref clsr 0))])
|
||||
(apply #,stx args)))))
|
||||
(make-keyword-procedure
|
||||
(lambda (kws kw-vals clsr . rst)
|
||||
(let-values ([#,fvars ((CLOSURE-ref clsr 0))])
|
||||
(keyword-apply #,stx
|
||||
kws kw-vals
|
||||
rst))))))
|
||||
|
||||
#f ; inspector
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user