Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  "Delegating" class instance definition (Nicolaas du Preez)


----------------------------------------------------------------------

Message: 1
Date: Sun, 12 Oct 2014 19:43:50 +0200
From: Nicolaas du Preez <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] "Delegating" class instance
        definition
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Thanks for mentioning it; It saves a lot of copy & paste!


On 12 Oct 2014, at 01:03, Nadir Sampaoli <[email protected]> wrote:

> To define an Ord instance you only need to implement compare because the 
> other functions are derivable in terms of it.
> If you wany to explicitly implement max, a correct implementation could be:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20141012/98ae382a/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 76, Issue 7
****************************************

Reply via email to