[Haskell-cafe] Simple OverloadedLists question

Konstantine Rybnikov k-bx at k-bx.com
Sun Apr 13 09:07:37 UTC 2014


On Sun, Apr 13, 2014 at 10:45 AM, Konstantine Rybnikov <k-bx at k-bx.com>wrote:

> Hi!
>
> I wanted to check out great new OverloadedLists [0] feature, but got an
> error as in [1].
>
> What am I doing wrong?
>
> Thanks.
>
> [0]:
> https://www.haskell.org/ghc/docs/7.8.1/html/users_guide/type-class-extensions.html#overloaded-lists
> [1]: https://gist.github.com/k-bx/10574806
>
>
Just FYI, IRC-user @Hermit fixed it by adding IsList instance to Map.

https://gist.github.com/Arm/10575474
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140413/eb132490/attachment.html>


More information about the Haskell-Cafe mailing list