IRC channel logs

2015-03-19.log

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 http://git.hcoop.net/?p=bpt/emacs.git;a=shortlog;h=refs/heads/wip-bdw-gc
<wleslie>sneek: botsnack
<sneek>:)
<nalaginrut>wleslie: thanks
<wleslie>you're welcome
<wingo>meep
<ArneBab_>moin :)
*wleslie drops an anvil on wingo
<wingo>:)
<civodul>Hello Guilers!
<wingo>morning civodul :)
*wingo just ran into http://bugs.gnu.org/17634
<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
<paron_remote> http://pamrel.lu/5f824/
<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: https://gitorious.org/sly/sly/source/a915b370094a59f868b6d49ab50e10c062600b46:sly/signal.scm#L158
<davexunit>warning: this macro probably sucks
<davexunit>but it works :)
<paron_remote>hm
*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