IRC channel logs

2024-04-21.log

back to list of logs

<sneek>tohoyn: wb
<tohoyn>sneek: botsnack
<sneek>:)
<r0ss>hi - wonder if anyone can point me to an example of renaming an out of the box provided symbol in Guile - e.g. define?
<mwette>(define-syntax-rule (new-define x ...) (define x ...))
<mwette>you could try to then define-syntax define to something using new-define but i'm skeptical that will work out
<rlb>r0ss: or depending on what you meant, for renaming in import/export there's #:hide and the dotted variants of #:select and export, depending on what you meant, e.g. https://codeberg.org/lokke/lokke/src/branch/main/mod/lokke/base/syntax.scm#L18-L25
<rlb>s/, depending on what you meant// :)
<r0ss>thanks all - I'll have a look into these suggestions tomorrow, very helpful