NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
greet greet? (Score:1)
(assuming you did mean the "main =" part). This looks like a type error to me (can't unify [Char] with (a -> b)).
:-)
Nice, introduce GADT (without its scary name) right off the bat. Pretend like it's always been there.
You probably want more examples for the pattern matching stuff. You showed one example for each WTDI, but if you're really trying to teach it, you probably need more. Come
Re:greet greet? (Score:2)
Reply to This
Parent