[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] macro systems and chicken (long)
From: |
Alex Shinn |
Subject: |
Re: [Chicken-users] macro systems and chicken (long) |
Date: |
Fri, 18 Apr 2008 11:32:33 +0900 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) |
>>>>> "Alaric" == Alaric Snell-Pym <address@hidden> writes:
Alaric> On 17 Apr 2008, at 12:58 pm, Alex Shinn wrote:
>>
>> could fail if the (var val) ... list were passed as a
>> syntax object. Though probably this would never
>> happen in practice.
Alaric> When *will* it happen in practice?
You could force it whenever you want with
make-syntactic-closure. I think in this case it's only
likely to come about as part of a higher order macro that
closes individual parts all the time for safety.
Actually, I think if you always use the ER- transformer then
you never get anything other than symbols wrapped as
syntactic closures, so there would be no problems with
destructuring.
Alaric> Can we not write a define-record as a macro on
Alaric> top of define-record- type? I've not used
Alaric> define-record-type much (it seems a bit
Alaric> overcomplex) so I'm not sure if there's some
Alaric> fundamental incompatability...
Sure, as I said, I was just doing that for portability.
--
Alex
- Re: [Chicken-users] macro systems and chicken (long), (continued)
- Re: [Chicken-users] macro systems and chicken (long), Graham Fawcett, 2008/04/07
- Re: [Chicken-users] macro systems and chicken (long), felix winkelmann, 2008/04/08
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/08
- Re: [Chicken-users] macro systems and chicken (long), felix winkelmann, 2008/04/09
- Re: [Chicken-users] macro systems and chicken (long), Alex Shinn, 2008/04/17
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/17
- Re: [Chicken-users] macro systems and chicken (long),
Alex Shinn <=
- Re: [Chicken-users] macro systems and chicken (long), Alaric Snell-Pym, 2008/04/18
Re: [Chicken-users] macro systems and chicken (long), John Cowan, 2008/04/06
Re: [Chicken-users] macro systems and chicken (long), felix winkelmann, 2008/04/07