IRC channel logs

2022-04-24.log

back to list of logs

<daviid>toideng: what guile version are you using?
<toideng>daviid: 2.2.7
<toideng>can check it on guile 3 if needed
<toideng>`(macro? '.)` returns `#f`
<daviid>the (lambda ( . args) ...) notation, which is to bind any (number of) argument(s) to args, as a list of the caller arguments, which can be empty, won't work with guile 3.0
<daviid>toideng: you definitely want toshift to use guile-3.0
<toideng>2.2.7 was in the arch repo
<toideng>tho AUR has the guile 3...
<daviid>fwiw, in 3.0, the achieve the above, you need to use (lambda args ...)
<mwette>fyi: (const <val>) => (lambda args <val>)
<toideng>compiled and tried 3.0.8.13-cc455, `(. 5)` still returns 5
<daviid>fwiw, the form (lambda ( . args) args) actually also works 'again' in 3.0.8 - note that guile's reader has been ported, from C to scheme, i didn't follow the details, but at some point, 3.0 would complain, i had to patch g-golf, that was april 2021 - https://git.savannah.gnu.org/cgit/g-golf.git/commit/?h=devel&id=e26a949de40e5db5eca21704776ee7f088bd46fa
<toideng>i'm just a bit confused that this dot isn't mentioned anywhere in the texinfo :-(
<toideng>(i tried grepping "dot", "period" and "(.", didn't find it)
***zmv is now known as notzmv
<jpoiret>any reason (@@ (module) name) will sometimes give an unbound variable exception when it's clearly define'd in the module
<lilyp>jpoiret: top-level definitions that aren't imported can be inlined, @@ is not a promise
<lilyp>s/imported/exported/
***chris is now known as Guest2765
<stis>Hi guilers!
<drakonis>ahoy
***Noisytoot is now known as [
***lampilelo_ is now known as lampilelo
<ArneBab>wingo: in guile-devel there is a question about your new sandbox and the old safe module. Did you try to replace (ice-9 safe) when implementing (ice-9 sandbox)?
***dostoevsky2 is now known as dostoevsky