IRC channel logs

2014-07-25.log

back to list of logs

***bionic_lemur is now known as AlanShore
<nalaginrut>morning guilers~
***AlanShore is now known as EdwinPoole
<nalaginrut>maybe I'm too optimistic, but I do believe it's not hard to implement erlang process with our delimited-continuation plus (ice-9 match), except serializable continuations
<ArneBab_>moin
<nalaginrut>heya
***nalaginrut_ is now known as nalaginrut
<nalaginrut>oh, guix 0.7
<civodul>Hello Guilers!
<nalaginrut>heya
***_zxq9_ is now known as zxq9
<amoe>is there a way to declare a procedure that can take both an optional keyword argument and a rest list, and be able to distinguish the two values inside the procedure?
<lloda>I think you have to remove the keyword from the rest list yourself
<lloda>(define* (f #:key (a 'default) . args) (list a (and=> (memv #:a args) cddr)))
<lloda>(f 9 1 2 3)
<lloda>$1 = (default #f)
<lloda> (f #:a 9 1 2 3)
<lloda>$2 = (9 (1 2 3))
<lloda>maybe someone knows better, keyword handling was redone not so long ago.
<civodul>lloda: rest args include keyword args
<civodul>which is often unfortunate
<civodul>BTW, say no to cdddr, caddr, and the rest of the family!
<ArneBab_>sneek: later tell wingo: I got a unicode error with current master and the function name spielfähig when importing the module.
<sneek>Okay.
<ArneBab_>sneek: botsnack
<sneek>:)
<dsmith-work>Happy Friday, Guilers!!
<sneek>Welcome back dsmith-work, you have 1 message.
<sneek>dsmith-work, ArneBab says: the uptime