IRC channel logs
2024-02-07.log
back to list of logs
<jmes>Hi! In CL I am used to specifying special variables and then shadowing them to change the behaviour of a function. e.g. I might have (defparameter *strategy* 'fast) which a function `find-thing` would read, but in some contexts I change that with (let ((*strategy* 'thorough)) (find-thing)). In Guile, I'm not sure how to do this because `find-thing` will be a closure that reference the original *strategy* and not the shadowed one. <jmes>Is there an equivalent of special variables or should I change my approach? <jmes>lloda: ah, absolutely perfect, thank you :) <sneek>I've been faithfully serving for 3 months <sneek>This system has been up 44 weeks, 4 days, 2 hours