TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Try Haskell: An interactive tutorial in your browser

37 pointsby jknuppalmost 15 years ago

3 comments

johnzabroskialmost 15 years ago
I tried this to see if I could recommend it to coworkers. When you are in tutorial mode, it explicitly expects you to type into the interpreter what the tutorial tells you to type in. If you don't, you get a compiler error message. This means you cannot experiment with variations of ideas presented in the tutorial. The tutorial itself is arranged like a 20 minute sitcom where a drama is resolved in a single sitting at the computer. Alternative tutorials should require at least some thinking; I will resist calling such tutorials 'better' and placing a value judgment on Chris's work, since I am sure some will find it useful.<p>I do like how the tutorial initially hides the output of the type of the expression, to avoid having to explain erroneous details, though.
评论 #1537063 未加载
jeebusroxorsalmost 15 years ago
Thanks. I really like these collection of online interpreters. I have just been trying to decide on a new language to play around with (ruby being one of them) and it's great to run through these tutorials and get a good basic feel of the language.<p>Also may have found a small bug:<p>In Functions [of a Geisha] when I did the final example ((1,"George")) it does not advance, however clicking and hitting enter seems to work.
评论 #1536446 未加载
评论 #1536504 未加载
jrockwayalmost 15 years ago
What modules are loaded? Can I load more? It would be nice to, say, code up a quick Parsec parser to show to coworkers.<p>(OK, I just use my local ghci for that... but still...)