IRC channel logs

2013-12-16.log

back to list of logs

<nalaginrut>morning guilers~
<b4283>morning
<b4283>jmd: i'm confused too, the manual says that both could be #f
<nalaginrut>what's the problem?
<b4283><jmd> What is wrong with this : (scm-error #f #f "~S is not a string" 10 #f)
<nalaginrut>well, it says DATA could be #f if key is not the doc listed value
<nalaginrut>I don't think it means key could be #f
<b4283>ah
<b4283>it seems this function is used to do C FFI
<nalaginrut>why not use 'throw' or 'error' directly
<nalaginrut>?
<jmd>Is there a way to convert an expression in to a string?
<kurohin>pretty-print?
<ft>(format #f "~a" '(+ 23 42)) ⇒ "(+ 23 42)"
<jmd>ft Thanks
<ft>If your expression contains strings,though... (format #f "~a" '(+ "test")) ⇒ "(+ test)"
<ft>~s might be better than ~a in that case.
<jmd>I wanted it without the enclosing ( )
<civodul>Hello Guilers!
<jmd>Greetings!
<dsmith-work>Morning Greetings, Guilers
***em-bee is now known as eMBee
<jemarch>hi
*jao waves in jemarch's direction
<dsmith-work>jao: Ever read "The Course of Empire" by K. D. Wentworth?
<jao>dsmith-work, hmmm, no
<jao>i'm afraid i haven't even heard of that author before
<jao>lol
<dsmith-work>jao: np. Just thought you might be amused by the aliens in there.
<jao>dsmith-work, i just saw a synopsis :)
<dsmith-work>heh
<jao>that was the reason of my lol
<dsmith-work>;^)
<jao>"conkered by the Jao twenty years ago..."
<dsmith-work>indeed
<jemarch>jao: hey, howdy :)