[Haskell-cafe] Confused by instances

Fraser Wilson blancolioni at gmail.com
Mon Apr 28 17:59:31 EDT 2008


On Mon, Apr 28, 2008 at 11:46 PM, Luke Palmer <lrpalmer at gmail.com> wrote:

> 2008/4/28 Fraser Wilson <blancolioni at gmail.com>:
> > what I am trying to say is "if a is an instance of Num, then
> > can be an instance of ValueClass too, and here's how".
>
> Oh, didn't answer this one.  This is almost canned response, questions
> like this get asked weekly on this list.


Thanks for the detailed response.  In the end, I've just selected the types
I'm really interested in, and added instances for those.  It works a treat.


cheers,
Fraser.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080428/16ee33dd/attachment.htm


More information about the Haskell-Cafe mailing list