IRC channel logs

2026-05-30.log

back to list of logs

<tohoyn>daviid: the bug I reported yesterday is probably in debian packaging and not upstream
<tohoyn>daviid: actually layout-manager-2 requires sudo if it s run from /usr/share/doc/examples
<rrobin>how can i quote a gexp or similar? I am trying to generate a snippet of code that I want to pretty print and eval, but I have a #~(begin ...) in there that keeps getting expanded as (gexp (begin ...
<ekaitz>rrobin: (quote ...)?
<ekaitz>(this is more of a #guix question than a #guile question)
<ekaitz>in any case #~ -> (gexp (begin ... Is the same really
<ekaitz>it's a reader macro
<rrobin>yeah i suppose it happens with all macros - i was trying to use it within a quote/quasiquote `(... #~...) but it always gets expanded and was trying to avoid the macro expansion, but no luck so far
<ekaitz>rrobin: it's not macro expansion but it happens in the reader
<ekaitz>when you reach the macro expander it's already done
<ekaitz>it's like #( ... ) for vectors and all that
<rrobin>aaah i see guix has its own pretty-print that does the reverse of the reader, so even if the reader is expanding it that printer can be used (no need for funny quote tricks). TIL about reader extensions i guess
<ekaitz>rrobin: :)
<ekaitz>isn't the day a little bit better when you learn something?