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

Jeffrey Brown jeffbrown.the at gmail.com
Fri Jan 23 04:52:31 UTC 2015


Thanks (again) Brandon!

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/20150122/da291013/attachment-0001.html>


More information about the Beginners mailing list