mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
Wrap AST lambda bodies in a list
This commit is contained in:
parent
f440d45dd0
commit
18b81a75af
1 changed files with 4 additions and 3 deletions
|
@ -209,9 +209,10 @@
|
|||
`(define call/cc
|
||||
,(ast:make-lambda
|
||||
'(k f)
|
||||
(list 'f 'k
|
||||
(ast:make-lambda '(_ result)
|
||||
'(k result)))))
|
||||
(list
|
||||
(list 'f 'k
|
||||
(ast:make-lambda '(_ result)
|
||||
(list '(k result)))))))
|
||||
;(lambda (k f) (f k (lambda (_ result) (k result)))))
|
||||
cps)));)
|
||||
(else
|
||||
|
|
Loading…
Add table
Reference in a new issue