[Haskell-cafe] Simple OverloadedLists question

Chris Wong lambda.fairy at gmail.com
Sun Apr 13 08:55:45 UTC 2014


On Sun, Apr 13, 2014 at 8:45 PM, 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

Try upgrading to GHC 7.8.2 first. I heard it fixes a serious bug in
the type checker, which may be behind your problem.

>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list