IRC channel logs


back to list of logs

***protocol_fairy is now known as wleslie
<nalaginrut>morning guilers~
<nalaginrut>sneek: where is guile-emacs
<wleslie>sneek: what is guile-emacs
<sneek>From what I understand, guile-emacs is;a=shortlog;h=refs/heads/wip-bdw-gc
<wleslie>sneek: botsnack
<nalaginrut>wleslie: thanks
<wleslie>you're welcome
<ArneBab_>moin :)
*wleslie drops an anvil on wingo
<civodul>Hello Guilers!
<wingo>morning civodul :)
*wingo just ran into
<dsmith-work>Appropriate Greetings, Guilers
<paron_remote>hello dsmith-work :)
<paron_remote>does someone have an example I could look at on how to define syntax that *optionally* contains a docstring, or some such, but doesn't involve a lot of redefining the same code?
<paron_remote>eg, I have
<wingo>usually you use syntax-case with an extra clause
<davexunit>beat me to it :)
<paron_remote>wingo: aha, ok!
<wingo>(syntax-case stx () ((form docstring arg) (string? (syntax->datum #'docstring)) #'(form arg)) ((form arg) ...))
<wingo>i think our syntax-rules might allow guard clauses now, i don't remember
<davexunit>they do
<wingo>we should add (define-syntax-rules foo clause ...)
<wingo>plural rules
<davexunit>yeah, that would be nice.
<davexunit>here's an example of syntax-case macro with a guard clause:
<davexunit>warning: this macro probably sucks
<davexunit>but it works :)
*paron_remote brain hurts thinking through all the syntax-foo :)
<paron_remote>I think I'm going to take a break and work on my libreplanet presentation then come back to this ;)
<davexunit>syntax-case macros are a different animal than syntax-rules
<paron_remote>yeah I've written one for the fauxnads experiment I did
<paron_remote>lots of brain expansion to get used to all the ideas and directions though :)
<paroneayea>davexunit: "adder cadadr" as your children's book title? :)
<davexunit>paroneayea: hehe, yes.
<davexunit>I wish I knew the exact moment where sussman talks about cadr/cadadr/etc. in the SICP lectures
<davexunit>it's quite amusing
<davexunit>it involves people talking about lisp over the phone
<paroneayea>davexunit: :)
***michel_mno is now known as michel_mno_afk