IRC channel logs
2013-12-21.log
back to list of logs
<brendyn>so what's everyone getting me for christmas? <zacts>anyone able to answer my question on #scheme? <mark_weaver>I'm not on #scheme now, but if you ask your question again I'll try. <zacts> I'm currently reading 'Scheme and the Art of Programming' and it requires a non-standard definition. <zacts><zacts> they only say: "The procedure of no arguments /reset/ in Program 7.6 <zacts>how can I define a procedure like reset for the second paste? <zacts>I can't continue through the book without it.. *zacts is searching the web right now.. I'm finding procedures named reset and shift and abort-to-prompt, but they seem to require arguments.. <adhoc>that reminds me, i should dig out SICP again and start reading =) <zacts>I still have yet to read SICP, it is next after SAOP, but I know someone who is interested in translating it into portuguese <mark_weaver>well, you can throw an exception, although that will also print another error message. do you need 'reset' in many places, or do you just need a redefined 'error' ? <mark_weaver>(define (error . args) ((@ (guile) error) (string-join (map (lambda (x) (object->string x display)) args)))) <mark_weaver>(@ (guile) error) refers to the core guile binding for 'error'. <mark_weaver>the lambda expression converts one arg to a string using 'display'. <mark_weaver>the map converts all the args to strings using display. <mark_weaver>string-join takes a list of strings and joins them together with spaces in between. <zacts>now I can continue through the book <matkuki>Hi guys, anyone have any experience building Guile with MinGW on windows? <matkuki>"make" gives me a couple of warnings, but "make install" gives an error that it cannot find a file named guild.exe <matkuki>mark_weaver: woohoo, it worked! thanks mark! *dsmith notes that there are 58 in #guile, 173 in #scheme, and 1187 in #haskell <dsmith>mark_weaver, Woah! I see you are adding r7rs support. <mark_weaver>note that very little of it is tested yet, so no doubt there are some glaring bugs in there. <mark_weaver>but it was enough to run one of the library examples in the r7rs document. <dsmith>I haven't been paying much attention to it. What are your thoughts? <mark_weaver>but R7RS is also reasonably good, and has some nice API improvements over anything that came before, although it's much less comprehensive than R6RS. <dsmith>Are you talking about Small or Large? (or both?)