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

Brandon Allbery allbery.b at gmail.com
Fri Jan 23 20:01:53 UTC 2015


On Fri, Jan 23, 2015 at 2:39 PM, Jeffrey Brown <jeffbrown.the at gmail.com>
wrote:

> 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?


You really want the 2010 report, not the 98 one.
https://www.haskell.org/onlinereport/haskell2010/

You may first check the extensions part of the GHC manual:
https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghc-language-features.html

Usually extensions will be called out with a pragma, though, so if there
are not {-# LANGUAGE #-} sections at the top then you probably don't need
to check the GHC manual. If there are, look over the sections of the GHC
manual relating to those LANGUAGE pragmas.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20150123/fdd769e8/attachment.html>


More information about the Beginners mailing list