[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Problem with amb - or nice bug?
From: |
Brown Dragon |
Subject: |
Re: [Chicken-users] Problem with amb - or nice bug? |
Date: |
Tue, 4 Nov 2008 08:44:36 +0530 |
Hello Tobia,
>Let me start with a piece of advice: consider learning syntax-rules, or
>hygienic, new-style macros instead of the old-style define-macro. Besides
>being Scheme's standard macro >system, syntax-rules is much more friendly,
>readable and safe to use. The next version of Chicken (Chicken 4) will support
>syntax-rules by default and will remove define-macro. In >Chicken 3 you can
>load one of a number of eggs that provide it, for example alexpander.
Thanks for the advice and encouragement. :-)
I am planning to learn syntax-rules soon. I did some initial reading
when I started but it was a bit confusing so I decided to put it off
till I had a better handle on things.
Also, changing the global variable *street* to a local variable worked! :-)
Have a great day
/BD