allow multiple arguments to shift-captured continuation

svn: r15472
This commit is contained in:
Matthew Flatt 2009-07-17 11:09:07 +00:00
parent 0cccedabb4
commit 84f56f8af6

View File

@ -139,10 +139,10 @@
(abort-cc
tag
(lambda ()
(f (lambda (val)
(f (lambda vals
(call-with-continuation-prompt
(lambda ()
(k val))
(apply k vals))
tag
inserted-handler))))))
tag)])])