mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Experiment with requiring cont for (set!)
This commit is contained in:
parent
6228fb1f1a
commit
d104a0ad46
1 changed files with 5 additions and 2 deletions
|
@ -1091,8 +1091,11 @@
|
|||
((and (ast:lambda? (car exp))
|
||||
(every
|
||||
(lambda (arg)
|
||||
(or (not (prim-call? arg))
|
||||
(not (prim:cont? (car arg)))))
|
||||
(and
|
||||
(not (set!? arg))
|
||||
(or (not (prim-call? arg))
|
||||
(not (prim:cont? (car arg)))
|
||||
)))
|
||||
(cdr exp))
|
||||
(every
|
||||
(lambda (param)
|
||||
|
|
Loading…
Add table
Reference in a new issue