[Haskell-cafe] ANN: Wheb -- A WAI framework

Luke Clifton ltclifton at gmail.com
Sat Feb 8 01:13:07 UTC 2014


> I was rather frustrated with the use of Template Haskell as the main entry point for the big framework projects (Yesod, Snap, etc.) 

Perhaps slightly off topic, but can someone outline why Template Haskell has so much negativity?

I've used Yesod a bit, and from my limited experience, the TH does a good job at removing a lot of boilerplate code, while still keeping things readable and type safe.

The main negatives I see are somewhat complicated error messages if you make a mistake, but the issue is usually pretty easy to spot because the TH is pretty simple.

Is portability an issue? How do the other Haskell compilers go with it?

Not to detract from your work, I think it's great to have options! I'm just curious.


More information about the Haskell-Cafe mailing list