Skip to content
This repository has been archived by the owner on Jan 28, 2018. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zaoqi committed Jan 7, 2018
1 parent 6aa9ab2 commit f61042e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch-js.scm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
(define ($!pre-define-lambda local-state state parm k) (k '() state))
(define ($!pre-lambda local-state state parm k) (k '() state))
(define ($$define-lambda/k local-state local-state1 state name parm xs k)
(k (hash-set local-state '_ (cons name (hash-ref local-state '_))) state (list (**define name (**lambda parm xs)))))
(k (hash-set local-state '_ (cons name (hash-ref local-state '_))) state (list (**set! name (**lambda parm xs)))))
(define ($$lambda/k local-state local-state1 state parm xs k)
(k local-state state '() (**lambda parm (append (map **define-undefined (hash-ref local-state1 '_)) xs))))
(define $null-local-state (hash '_ '()))
Expand Down

0 comments on commit f61042e

Please sign in to comment.