[Haskell-beginners] Defining an instance: Syntax that works exactly sometimes

Jeffrey Brown jeffbrown.the at gmail.com
Fri Jan 23 19:39:25 UTC 2015


Should I always look first in the 98 Report, and only if I don't find
something there then look in the User's Guide? Should I always look through
both, lest something in the 98 Report be obsolete? Is nothing in it
obsolete?


On Thu, Jan 22, 2015 at 7:40 PM, Brandon Allbery <allbery.b at gmail.com>
wrote:

> On Thu, Jan 22, 2015 at 10:34 PM, Jeffrey Brown <jeffbrown.the at gmail.com>
> wrote:
>
>> I have not found the "deriving" keyword's specification anywhere.
>
>
> The correct place to look for this and other things, including instances,
> is the Haskell Report.
>
>
> https://www.haskell.org/onlinereport/haskell2010/haskellch4.html#x10-780004.3.3
>   4.3.3. Derived Instances
>
>
> https://www.haskell.org/onlinereport/haskell2010/haskellch4.html#x10-770004.3.2
>   4.3.2. Instance Declarations
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20150123/5effd873/attachment.html>


More information about the Beginners mailing list