[Haskell-cafe] Simple OverloadedLists question

Adam Bergmark adam at bergmark.nl
Sun Apr 13 16:38:05 UTC 2014


The containers package doesn't have these instances, you may want to open
up an issue for it [1]

- Adam

[1] https://github.com/haskell/containers



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

>
> 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
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140413/b99e807c/attachment.html>


More information about the Haskell-Cafe mailing list