First lesson in Haskell and Yesod. Taken from http://yannesposito.com/Scratch/en/blog/Yesod-tutorial-for-newbies/.