it won't update setted variable's value in all procedures of `(X)` that uses `x`. `(define (square r pi) (* r r pi))` <-- here pi will stay 3.14 when `square` will be called from `(Y)`
Top-level
it won't update setted variable's value in all procedures of `(X)` that uses `x`. `(define (square r pi) (* r r pi))` <-- here pi will stay 3.14 when `square` will be called from `(Y)` 3 comments
@shegeley @wingo @cwebber @monkey1 so you just need to create an alias? In that case (define my-alias the-original) works fine except when dealing with syntax. In that case, you can do (define-syntax my-alias Might have left something out of that bcs im writing from my phone, currently on the move, so lmk if that didn't work and ill take a look. |
@rml @wingo @cwebber @monkey1 probably the answer given was toatally correct. set! and stuff will work in repl, but won't when launched in the testing env that I just set up.