[Haskell-cafe] Backpack vs plain old classes and instances
Clinton Mead
clintonmead at gmail.com
Thu Jul 19 07:46:52 UTC 2018
Hi Silvio
That makes a lot of sense thanks for the reply!
Thanks,
Clinton
On Thu, Jul 19, 2018 at 4:20 PM, Silvio Frischknecht <
silvio.frischi at gmail.com> wrote:
> 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
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180719/4e79a5f8/attachment-0001.html>
More information about the Haskell-Cafe
mailing list