Best Haskell Tutorial to Start Building Projects

in r2cornell •  last year 

Most tutorials for Haskell start by telling imperative programmers how different Haskell is. There are others that spend a great deal of time on theory or various amazing features of the language. Learn You a Haskell for Great Good! is one of the most well known and highly regarded textbooks to learn Haskell. It has 14 chapters. You learn how to write "Hello, world!" in the 9th chapter!

main = putStrLn "hello, world"  

That was not very complex at all. Here is something better from the 9th chapter:

main = do  
    putStrLn "Hello, what's your name?"  
    name <- getLine  
    putStrLn ("Hey " ++ name ++ ", you rock!") 

For those who are itching to get something done, this type of tutorials may not create the best learning experience. That is why I want to present you a tutorial that send people straight to doing things with Hasekell.

I wish there were more tutorials like this that explain how things are done. It is possible to learn the theory while some example project is being created. After trying to build something with Haskell, learners can take a look at a textbook to expand and refresh their knowledge. There is an updated open source fork of Learn You a Haskell and it has been a fun read. A mix of both produce the best results IMHO.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!