[plt-scheme] A data point on 'match' in intro programming: +++!

From: John Clements (clements at brinckerhoff.org)
Date: Tue Jul 7 03:46:25 EDT 2009

I'm leading high-school students through the construction of a bare- 
bones "universe.ss" application that models the prisoner's dilemma,  
and I decided to import 'match' using a teachpack.  My experience thus  
far has been completely positive, and if there's a drawback to using  
'match' to replace structure-reference functions and predicates, it  
hasn't come up.

Well, actually, I suppose I can imagine the following objections:
- a straightforward import of 'match' doesn't support symbol patterns  
(presumably, it's a different "quote").
- you can't do nifty higher-order things with predicates and structure  
reference functions.

Both of these seem pretty minor.

Anyhow: thanks, all, especially Sam!

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20090707/dceca953/attachment.p7s>

Posted on the users mailing list.