[Haskell-cafe] Backpack vs plain old classes and instances

Silvio Frischknecht silvio.frischi at gmail.com
Thu Jul 19 06:20:00 UTC 2018


It seems similar to the modules system of ML. As I understand it, the
main difference to Haskell type classes is that you have to specify
instances explicitly in in this system. This means you get more control
at the expense of more code.

Have a look at this example on stackoverflow.




More information about the Haskell-Cafe mailing list