
19 Jul
2018
19 Jul
'18
2:20 a.m.
Hi 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. https://stackoverflow.com/a/36927542/1117884 Cheers Silvio