[Haskell-cafe] Confused by instances
Fraser Wilson
blancolioni at gmail.com
Mon Apr 28 16:53:53 EDT 2008
On Mon, Apr 28, 2008 at 10:50 PM, Brandon S. Allbery KF8NH <
allbery at ece.cmu.edu> wrote:
>
>
> The format is instance [context =>] classname instance.
> Your classname is ValueClass.
> Your instance is a. a is not of the form (T a1 ... an).
But neither is
instance (Show a) => Show [a] ...
*sound of penny dropping *
Ah. Wood, trees, all that.
Thanks!
cheers,
Fraser.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080428/3ffd3369/attachment.htm
More information about the Haskell-Cafe
mailing list