<AwesomeAdam54321>How can I use ice-9 open-pipe* to run a subprocess and capture it's output? I can't find any examples online <iyzsong>AwesomeAdam54321: hey, in the source of guix, there are many examples <daviid>AwesomeAdam54321: symbols and numbers <AwesomeAdam54321>daviid: How could I do a case statement with strings? or would I just have to use when statements? <daviid>(case (string->symbol "hello") ((hello) "world")) <flatwhatson>AwesomeAdam54321: not when statements, probably a cond <AwesomeAdam54321>daviid: Is there a reason case statements only accept symbols and numbers? <daviid>AwesomeAdam54321: did you read the case statement in the guile manual? <AwesomeAdam54321>daviid: I read the guile manual online, but I didn't know what a datum exactly was from looking at it <daviid>ok, it says First, key is evaluated. The result of this evaluation is compared against all datum values using eqv?. <daviid>strings can't be compared using eqv? <daviid>no problem, it's kind of a faq, soyou're not alone :) ***karlosz_ is now known as karlosz
***rgherdt_ is now known as rgherdt
***Furor is now known as Colere
***pkill9_ is now known as pkill9
***civodul` is now known as civodul
***chris is now known as Guest9620
<lloda>guile doesn't check for gperf at configure time <daviid>lloda: i thought one of us fixed that, i even thought it was you? :) but i think there is a patch somewhere, not sure <daviid>hum, maybe i am wrong, i can't find any trace of any gperf/configure recent discussion(s) in user/devel ml ... and our channels logs aren't searchable at the moment <cwebber>I've recently discovered just how extremely much (default-optimization-level 1) makes debugging guile code easier <cwebber>I wonder if it would be a good idea to add a config flag to my ppackage <cwebber>so i could do ./configure --debugable or something <cwebber>andm aybe it would compile using the -O 1 flag <Zambyte>Hi, I'm trying to play around with some portable libraries, but I'm having trouble. For a test I'm trying to run SRFI-78 from chez-srfi, which has a compat.guile.sls file, but won't load for me. This gives a "no code found for module (srfi srfi-78)" error for me, not sure why or what to do differently: `git clone https://github.com/arcfide/chez-srfi srfi && GUILE_LOAD_PATH="$PWD:$GUILE_LOAD_PATH" guile -c "(import (srfi :78))"`. Anyone <Zambyte>I've also tried with `-x .sls` on guile, no luck <jab>cwebber: how do you debug guile programs? Debugging elisp programs is awesome in comparison (my opinion) <flatwhatson>jab: there's a full set of tracing & breakpoint tools available in the guile repl <flatwhatson>plus the `pk' function is very useful to hack in some "printf" debugging <flatwhatson>but as with C, the optimizer might inline stuff which makes stepping through your program less useful <dsmith-work>flatwhatson: Have you tried geiser? (Note: haven't used it in a while) <jao>(sorry, i don't know how to talk to sneek :) <dsmith-work>I have relatives with the name "Gaiser". Finger memory. Sorry <jao>oh, is it a given name? <jao>aha, never heard of it! ***theruran_ is now known as theruran
***alanz_ is now known as alanz
***conjunctive_ is now known as conjunctive
<jao>for some value of good hack, yes :) <flatwhatson>i do use geiser, but i haven't mastered its debugger integration <flatwhatson>something went haywire with my setup and i've procrastinated on fixing it... <flatwhatson>readline and completion support in the repl is bearable enough to be productive