u/ydewitin r/haskell • Recommends
On “Why does David Turner say type classes were a bad idea?”
…t the Mirage project is doing with the module system provided by OCaml: is the same principle. More specifically, watch Anil's ICFP2014 presentation on this (no link - on my phone).
There is no separation between interface and implementation in Haskell. Using type classes for this is a cumbersome hack.
EDIT: Here is the link to Anil's keynote: link to this video…