mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 14:19:18 +02:00
Wrapping environment monad function bodies in let to allow internal define.
This commit is contained in:
parent
d16cbc7e2b
commit
851393362c
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@
|
||||||
((f! ("step") ((p param) :::) () . body)
|
((f! ("step") ((p param) :::) () . body)
|
||||||
(lambda (st)
|
(lambda (st)
|
||||||
(let ((p (ask st 'param)) :::)
|
(let ((p (ask st 'param)) :::)
|
||||||
((begin . body) st))))
|
((let () . body) st))))
|
||||||
((f! params . body)
|
((f! params . body)
|
||||||
(f! ("step") () params . body))))
|
(f! ("step") () params . body))))
|
||||||
;; fork - run on a copy of the state
|
;; fork - run on a copy of the state
|
||||||
|
|
Loading…
Add table
Reference in a new issue