Re: [racket-users] Macros outline

2016-02-05 Thread Gavin McGimpsey
Thanks, Greg!

I appreciated that approach – and ordered things pretty much the same way here.



On Thursday, February 4, 2016 at 7:17:37 PM UTC-7, Greg Hendershott wrote:
> I really like it!
> 
> Compared to FoM, you get to the point more quickly and clearly.
> 
> (FoM is closer to that genre where someone takes notes on their first
> 24 hours trying to understand a new language. (Except in my case with
> macros it felt like months not hours.))
> 
> I hope you do expand it.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Macros outline

2016-02-04 Thread Greg Hendershott
I really like it!

Compared to FoM, you get to the point more quickly and clearly.

(FoM is closer to that genre where someone takes notes on their first
24 hours trying to understand a new language. (Except in my case with
macros it felt like months not hours.))

I hope you do expand it.


On Wed, Feb 3, 2016 at 2:37 PM, Gavin McGimpsey  wrote:
> I've been picking up Racket here and there, and have spent the last little 
> while learning about macros. The Reference and Guide are comprehensive, of 
> course, and Greg Hendershott's Fear of Macros is an excellent introduction.
>
> I found that it took me a little to see how each of the pieces fit together 
> in the bigger picture – FoM and the Guide both take tutorial approaches that 
> start small and build upwards, but didn't make the high-level organization 
> explicit enough for me. So I wrote up this outline:
>
> http://www.gavinmcg.com/2016/02/03/racket-macros.html
>
> I'm hoping to expand it once I learn more about syntax-parse and reader 
> extensions.
>
> I'd appreciate any feedback!
>
> Gavin
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Macros outline

2016-02-03 Thread Asumu Takikawa
Hi Gavin,

On 2016-02-03 11:37:39 -0800, Gavin McGimpsey wrote:
> I'd appreciate any feedback!

This is very nice and concise! Thanks for writing it.

If you do expand it, it might be worth mentioning that the macro stepper lets
you debug macros. And if you expand with info on `syntax-parse`, you could even
drop the `syntax-case` mention since there's nothing it can do that
`syntax-parse` can't also do.

Cheers,
Asumu

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Macros outline

2016-02-03 Thread Gavin McGimpsey
I've been picking up Racket here and there, and have spent the last little 
while learning about macros. The Reference and Guide are comprehensive, of 
course, and Greg Hendershott's Fear of Macros is an excellent introduction.

I found that it took me a little to see how each of the pieces fit together in 
the bigger picture – FoM and the Guide both take tutorial approaches that start 
small and build upwards, but didn't make the high-level organization explicit 
enough for me. So I wrote up this outline:

http://www.gavinmcg.com/2016/02/03/racket-macros.html

I'm hoping to expand it once I learn more about syntax-parse and reader 
extensions.

I'd appreciate any feedback!

Gavin

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.