Hacker News new | past | comments | ask | show | jobs | submit login

What, autogenerated code never has strange bugs! :)

That said, it works well enough for deriving monad from a transformer stack. Do people use monad transformer stacks? It's been a while since I've written any real Haskell code.




Monad transformers and stacks of them are pretty standard though it's something library writers engage with more often than "users".

There are more adventurous and specific ways being explored to handle things like "effects", but that exists mostly in SHE or Idris.

mtl is still the practical way to go for now.

I keep wanting an excuse to futz around with this: http://hackage.haskell.org/package/layers




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: