Make declared variavles settable in the REPL
This commit is contained in:
parent
cabb9ca992
commit
bae7a4044f
|
@ -14,6 +14,9 @@
|
|||
(define-syntax (DeclareVars stx)
|
||||
(syntax-case stx ()
|
||||
[(_ sym ...)
|
||||
#'(begin (define sym 'sym) ...)]))
|
||||
#'(begin
|
||||
(define sym 'sym) ...
|
||||
(set! sym 'sym) ...)]))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user