[Haskell-cafe] Problem on overlapping instances

Henning Thielemann lemming at henning-thielemann.de
Fri Jan 7 01:47:13 CET 2011


Magicloud Magiclouds schrieb:
> Hi,
>   I am using Data.Binary which defined "instance Binary a => Binary
> [a]". Now I need to define "instance Binary [String]" to make
> something special for string list.
>   How to make it work? I looked into the chapter of
> overlappinginstances, nothing works.


http://www.haskell.org/haskellwiki/List_instance



More information about the Haskell-Cafe mailing list