IRC channel logs

2024-08-19.log

back to list of logs

<mwette> /list
<sneek>wb tohoyn
<tohoyn>sneek: botsnack
<sneek>:)
<retropikzel>Should "(cond-expand ((library (srfi 1))..." work on guile? I get error: In procedure symbol->string: Wrong type argument in position 1 (expecting symbol): 1
<janneke>retropikzel: this works for me: (cond-expand (guile (use-modules (srfi srfi-1))))
<graywolf>Hi :) How do you guys usually locate guile-snarf? GUILE_PROGS does not define a variable for it, and the name is not stored in guile-3.0.pc file.
<qookie>i seem to have managed to segfault guile with the new wisp syntax
<qookie> https://bpa.st/WTYQ (i'm aware it contains an error and it should be `. foo` for the map invocation)
<qookie>ice-9/boot-9.scm:1676:22: In procedure raise-exception:
<qookie>Wrong number of arguments to Segmentation fault (core dumped)
<dsmith>graywolf, The C doc snarfer? That's not installed.
<dsmith>graywolf, That's for generating the guile-procedures.txt file, which is really only for libguile, though I think somehow wingo made it work for guile-cairo (or something)
<Arsen>fwiw i have /bin/guile-snarf
<dsmith>graywolf, Though it was many years ago when I was looking into that...
<graywolf>dsmith: no, the guile-snarf from https://www.gnu.org/software/guile//manual/html_node/Function-Snarfing.html to generate the .x files when compiling C code
<graywolf>For documentation snarfing I have my own https://git.wolfsden.cz/guile-wolfsden/tree/build-aux/doc-snarf.scm ^_^
<graywolf>Arsen: I do have it as well, but with --program-suffix configure option it can be named pretty much anything. For guild and guile there are record in pkg-config file (guile-3.0.pc), so I wondered what is best way to discover name under which guile-snarf is installed.
<Arsen>I know
<Arsen>oh, I didn't say it in the end: I recommend just s/guile/guile-snarf/ in absence of a better solution
<graywolf>huh, that actually seem like *very* reasonable default guess
<graywolf>thanks :)