1. 11
  1.  

  2. 2

    Yeah documentation is dense in the Haskell world. But once you get over the learning curve then the docs make sense. I recommend #haskell and #haskell-beginners on freenode, the people there really are helpful.

    The article doesn’t really get into it, but Yesod is a very well-designed framework. It’s designed around typeclasses, each method of which can be patched over for custom functionality. The separation of concerns is a traditional MVC but it’s well done in the sense that you don’t have to write a ton of boilerplate code for the controller or model, like you do in other frameworks. It took me a while to understand how to organize my codebase in the Yesod way, but after a few weeks of experience it makes sense.

    Some people don’t like Template Haskell or code generation generally, and that’s understandable. But Yesod only uses code gen where it adds value and clarity to the code, and you realize this after working with it for a while. Shakespearean templates are nice too, better than moustache or similar templating languages. I think I like the Shakespearean method better than Hiccup or Blaze or Elm’s method of function composition.