Simple OverloadedLists question
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-extension... [1]: https://gist.github.com/k-bx/10574806
On Sun, Apr 13, 2014 at 8:45 PM, Konstantine Rybnikov <k-bx@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-extension... [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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
It's 7.8.2. On Sun, Apr 13, 2014 at 10:55 AM, Chris Wong <lambda.fairy@gmail.com> wrote:
On Sun, Apr 13, 2014 at 8:45 PM, Konstantine Rybnikov <k-bx@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-extension...
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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
On Sun, Apr 13, 2014 at 10:45 AM, Konstantine Rybnikov <k-bx@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-extension... [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
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@k-bx.com>wrote:
On Sun, Apr 13, 2014 at 10:45 AM, Konstantine Rybnikov <k-bx@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-extension... [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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Adam Bergmark -
Chris Wong -
Konstantine Rybnikov