[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] hart and syntax-case won't play nice. :(
From: |
John Cowan |
Subject: |
Re: [Chicken-users] hart and syntax-case won't play nice. :( |
Date: |
Sat, 15 Mar 2008 15:43:06 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Graham Fawcett scripsit:
> > (define-macro (hart . forms)
> > `(noop ,(apply hart-parse forms)))
> >
> > That should be trivial to translate into any macro system.
>
> Hm, on second thought, I probably shouldn't assume that just because a
> macro is short, it would be trivial to translate into another system.
This one is, though:
(define-syntax hart (syntax-rules ()
((hart . forms) (noop (hart-parse . forms)))))
(Untested, of course)
--
The man that wanders far address@hidden
from the walking tree http://www.ccil.org/~cowan
--first line of a non-existent poem by: John Cowan
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, (continued)
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, Tobia Conforto, 2008/03/15
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, Graham Fawcett, 2008/03/15
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, Robin Lee Powell, 2008/03/15
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, Graham Fawcett, 2008/03/15
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, Graham Fawcett, 2008/03/15
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, Robin Lee Powell, 2008/03/15
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, Tobia Conforto, 2008/03/15
- Re: [Chicken-users] hart and syntax-case won't play nice. :(,
John Cowan <=
- Re: [Chicken-users] hart and syntax-case won't play nice. :(, Kon Lovett, 2008/03/15