Re: [Chicken-users] Recursive define-macro

2007-03-07 Thread Joshua Griffith
Thanks, using a less `clever' map form worked. -Josh On 3/7/07, Kon Lovett <[EMAIL PROTECTED]> wrote: On Mar 7, 2007, at 12:37 AM, felix winkelmann wrote: > On 3/7/07, Joshua Griffith <[EMAIL PROTECTED]> wrote: >> I get an unbound variable error when I execute the following: >> (define-macro

Re: [Chicken-users] Recursive define-macro

2007-03-07 Thread Kon Lovett
On Mar 7, 2007, at 12:37 AM, felix winkelmann wrote: On 3/7/07, Joshua Griffith <[EMAIL PROTECTED]> wrote: I get an unbound variable error when I execute the following: (define-macro (test alist) (if (> 0 (length alist)) (test (cdr alist I think this explains the above error: #;1> rec

Re: [Chicken-users] Recursive define-macro

2007-03-07 Thread felix winkelmann
On 3/7/07, Joshua Griffith <[EMAIL PROTECTED]> wrote: I get an unbound variable error when I execute the following: (define-macro (test alist) (if (> 0 (length alist)) (test (cdr alist Are recursive define-macro definitions possible? The code inside a macro is executed at macro-expansion t

[Chicken-users] Recursive define-macro

2007-03-07 Thread Joshua Griffith
I get an unbound variable error when I execute the following: (define-macro (test alist) (if (> 0 (length alist)) (test (cdr alist Are recursive define-macro definitions possible? Thanks, Josh ___ Chicken-users mailing list Chicken-users@nongnu.or