@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)`
Conversation
Notices
-
Andy Wingo (wingo@mastodon.social)'s status on Thursday, 14-Sep-2023 05:44:45 UTC Andy Wingo - Santa Claes πΈπͺππ°π likes this.
-
Andy Wingo (wingo@mastodon.social)'s status on Thursday, 14-Sep-2023 05:44:54 UTC Andy Wingo @shegeley @rml @cwebber but generally for this to be possible you need to have inhibited some optimizations by opting into a different dialect. see https://www.gnu.org/software/guile//manual/html_node/Declarative-Modules.html
Santa Claes πΈπͺππ°π likes this.