[racket] another mini-tutorial: a racket slice: munging IRC logs

From: Marijn (hkBst at gentoo.org)
Date: Thu Aug 11 04:42:29 EDT 2011

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Danny,

On 08/06/11 08:08, Danny Yoo wrote:
> I'm thinking of writing a series called "Racket Slices", which does
> a cookbook-style approach to learning about Racket.  I think there's
> a need for documentation that takes a "slice", a cross section of
> Racket to do some simple (but real-world!) task.  And since we're
> using the name "Racket", it demands that we use a pun about tennis.
> 
> Here's what I'm thinking of:
> 
> http://hashcollision.org/racket-slices/irc-parsing/index.html
> 
> 
> How does it look?

I like how you show one way of converting a match to an object, and then
show a better way. What I did not like very much is how the first way is
really verbose and made me question whether to read on, and in
retrospect the way using match isn't much less verbose. Wouldn't a
simple (apply on-action (rest a-match)) work?

Marijn



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5DlfUACgkQp/VmCx0OL2yrnQCfaZ2EtrvQe+mcSGPOreNPs74k
1uUAoJ4JTCDlRd63TqFTNHzn/vX4JCpD
=e5do
-----END PGP SIGNATURE-----


Posted on the users mailing list.