Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • About half way through:

        greet x = "Hello " ++ x
        main    = print (greet greet)

    (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

  • That's really slick. Looks like a good example to learn XUL from. From reading it a little, it turns out that Takahashi is the name of the presentation method, not the author of the kit. Also, I was confused at first on the page you linked to; it seems you want to download the two links called takahashi.xul [] and takahashi.css [] (scroll down a little).