Re: [Chicken-users] Problem with amb - or nice bug?

2008-11-04 Thread Brown Dragon
John Cowan said: >JRM's Syntax-rules Primer For The Mildly Eccentric is your friend when >it comes to syntax-rules. Just keep reading till it stops making sense, >then put it down. You probably know all you need to know at that point. >When you run into roadblocks, pick it up again and reread fr

Re: [Chicken-users] Problem with amb - or nice bug?

2008-11-03 Thread John Cowan
Brown Dragon scripsit: > 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. JRM's Syntax-rules Primer For The Mildly Eccentric is your friend when it comes to syntax-ru

Re: [Chicken-users] Problem with amb - or nice bug?

2008-11-03 Thread Brown Dragon
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 (Ch

Re: [Chicken-users] Problem with amb - or nice bug?

2008-11-03 Thread Alaric Snell-Pym
On 1 Nov 2008, at 2:39 am, Tobia Conforto wrote: I got the same results with all these (amb) implementations: - the one in the amb egg; - the define-macro in the OP; - my hygienic one above, both in Chicken 3 with alexpander and in Chicken svn head; so it's not a problem in the specific macro.

Re: [Chicken-users] Problem with amb - or nice bug?

2008-10-31 Thread Tobia Conforto
Hello, I am learning scheme and am trying to implement the "amb" operator. Hi. That's great! 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