Email or username:

Password:

Forgot your password?
Top-level
Andy Wingo

@shegeley @rml @cwebber most schemers are republicans, in the anti-monarchist sense :) but if the intended use case is global monkeypatching, then in guile `set!` is your tool. if `a` is exported, then just `set!` on `a`. if not, `(set! (@@ (X) a) new-val)`

5 comments
Andy Wingo

@shegeley @rml @cwebber depends :) add #:declarative? #f to the define-module of X and see

Grigory Shepelev

@monkey1 @wingo @rml @cwebber

I'm not sure about this formulation. I want to update `x` from `(X)` "globally": in a way that everything from `(X)` that'd have `x` referenced would also update it to the new value.

Go Up