Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days- macros

2011-04-07 Thread Jos Koot
t: 05 April 2011 11:10 To: users Subject: Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days- macros In case any lurkers like me are interested. http://blog.racket-lang.org/2011/04/writing-syntax-case-macros.html Stephen On Tue, Apr 5, 2011 at 12:51 AM, Robby Findler wrote: O

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-04-05 Thread Stephen De Gabrielle
In case any lurkers like me are interested. http://blog.racket-lang.org/2011/04/writing-syntax-case-macros.html Stephen On Tue, Apr 5, 2011 at 12:51 AM, Robby Findler wrote: > On Mon, Apr 4, 2011 at 6:25 PM, Eli Barzilay wrote: > > Four hours ago, Robby Findler wrote: > >> > >> It looks like a

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-04-04 Thread Robby Findler
On Mon, Apr 4, 2011 at 6:25 PM, Eli Barzilay wrote: > Four hours ago, Robby Findler wrote: >> >> It looks like a great macro essay for a certain crowd (altho the >> essay seems to insult that selfsame crowd; perhaps you are assuming >> that that crowd is into S&M?). > > Where's the insult?  (I did

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-04-04 Thread Eli Barzilay
Four hours ago, Robby Findler wrote: > > It looks like a great macro essay for a certain crowd (altho the > essay seems to insult that selfsame crowd; perhaps you are assuming > that that crowd is into S&M?). Where's the insult? (I didn't mean any insult -- the only thing I can think of is the "

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-04-04 Thread Robby Findler
On Mon, Apr 4, 2011 at 1:27 PM, Eli Barzilay wrote: > 6 hours ago, Sam Tobin-Hochstadt wrote: >> >> Eli wrote an excellent introduction to Racket macros on >> comp.lang.scheme recently, which I've encouraged him to post on the >> Racket blog. > > I'm not sure how "excellent" it is, but I posted it

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-04-04 Thread Eli Barzilay
6 hours ago, Sam Tobin-Hochstadt wrote: > > Eli wrote an excellent introduction to Racket macros on > comp.lang.scheme recently, which I've encouraged him to post on the > Racket blog. I'm not sure how "excellent" it is, but I posted it now. Please let me know if you see any obvious problems. (

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-04-04 Thread Sam Tobin-Hochstadt
On Mon, Apr 4, 2011 at 8:13 AM, Matthias Felleisen wrote: > > On Apr 4, 2011, at 5:45 AM, Archie Maskill wrote: > > On Wed, Mar 30, 2011 at 11:29 AM, John Sampson wrote: >> >> Do you think these give a better explanation of macros? On the whole, I >> have found Teach Yourself Scheme >> relatively

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-04-04 Thread Matthias Felleisen
On Apr 4, 2011, at 5:45 AM, Archie Maskill wrote: > On Wed, Mar 30, 2011 at 11:29 AM, John Sampson wrote: > Do you think these give a better explanation of macros? On the whole, I have > found Teach Yourself Scheme > relatively easy to follow. > > Regards > > _John Sampson_ > > I was learnin

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-04-04 Thread Archie Maskill
On Wed, Mar 30, 2011 at 11:29 AM, John Sampson wrote: > Do you think these give a better explanation of macros? On the whole, I > have found Teach Yourself Scheme > relatively easy to follow. > > Regards > > _John Sampson_ I was learning how to use scheme macros recently, and I found this docum

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Dorai Sitaram
Yes, go ahead! regards, --dorai On Wed, Mar 30, 2011 at 12:00 PM, Matthias Felleisen wrote: > > On Mar 30, 2011, at 11:20 AM, Prabhakar Ragde wrote: > > > Matthias wrote: > > > Do you think these give a better explanation of macros? On the > whole, I have found Teach Yourself Scheme re

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Sam Tobin-Hochstadt
On Wed, Mar 30, 2011 at 12:23 PM, Matthew Flatt wrote: > At Wed, 30 Mar 2011 11:20:30 -0400, Prabhakar Ragde wrote: >> This comment is about more than macros: Since students are often drawn >> to TYS even though I never mention it to them, I've always been tempted >> to "translate" TYS into what i

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Matthew Flatt
At Wed, 30 Mar 2011 11:20:30 -0400, Prabhakar Ragde wrote: > This comment is about more than macros: Since students are often drawn > to TYS even though I never mention it to them, I've always been tempted > to "translate" TYS into what is now Racket, not just literally but with > some of the Ht

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Matthias Felleisen
On Mar 30, 2011, at 11:20 AM, Prabhakar Ragde wrote: > Matthias wrote: > Do you think these give a better explanation of macros? On the whole, I have found Teach Yourself Scheme relatively easy to follow. >> Yes, but when it comes to macros, it espouses a view that was never >> co

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Prabhakar Ragde
Matthias wrote: Do you think these give a better explanation of macros? On the whole, I have found Teach Yourself Scheme relatively easy to follow. Yes, but when it comes to macros, it espouses a view that was never compatible with any Report on Scheme and is even old-school for plain Lisp. If

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Matthias Felleisen
On Mar 30, 2011, at 6:29 AM, John Sampson wrote: > Do you think these give a better explanation of macros? On the whole, I have > found Teach Yourself Scheme > relatively easy to follow. Yes, but when it comes to macros, it espouses a view that was never compatible with any Report on Scheme an

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Jens Axel Søgaard
2011/3/30 John Sampson : > Hello - > > I am going through TYSIFD which is said to be compatible with mzScheme. > > Descriptions of macros seem to be different depending which book one reads. > TYSIFD advises the reader to 'require' the defmacro library > - '(require (lib "defmacro.rkt"))' when usin

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Pierpaolo Bernardi
On Wed, Mar 30, 2011 at 11:31, John Sampson wrote: > Hello - > > I am going through TYSIFD which is said to be compatible with mzScheme. > > Descriptions of macros seem to be different depending which book one reads. > TYSIFD advises the reader to 'require' the defmacro library > - '(require (li

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Pierpaolo Bernardi
On Wed, Mar 30, 2011 at 12:29, John Sampson wrote: > Do you think these give a better explanation of macros? On the whole, I have > found Teach Yourself Scheme > relatively easy to follow. I read TYSIFD many years ago and I don't remember exactly what it says about macros. >From your first post

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Pierpaolo Bernardi
On Wed, Mar 30, 2011 at 11:31, John Sampson wrote: > What is the best source for learning about macros in Racket, assuming no > previous > knowledge of macros? Have you already tried the Getting Started docs in the Help Desk? _ For list-related a