Hacker News new | ask | show | jobs
by nandemo 4834 days ago
Yeah, I saw that it uses mueval, but it's still conceivable that TryHaskell itself could hack support for let on top of it. Apparently Chris planned to do it [1].

Note that in "let t=bar in foo" the scope of t is restricted to foo, so the example above still doesn't work.

[1] http://www.reddit.com/r/haskell/comments/b58rk/try_haskell/c... ([deleted] = Chris Doner)

1 comments

Fair enough but you could do let f = map reverse in f ["ab", "cd"]

IMHO the tryhaskell expose more or less only simple pure functions and I doubt that anyone with a real interest in haskell will get any substantial out of it. However if one is completely new to programming maybe TryHaskell and these 6 short lessons have a value.

Agreed.

Incidentally, Chris Doner has been producing far more exciting things like Fay, so I'm not gonna complain about TryHaskell.