On Jan 13, 2010, at 14:29 , Andrew Coppin wrote:
Brandon S. Allbery KF8NH wrote:
On Jan 12, 2010, at 17:12 , Niklas Broberg wrote:
Haskell '98 apparently features 25 reserved words. (Not counting "forall"
and "mdo" and so on, which AFAIK are not in Haskell '98.)

21 actually. case, class, data, default, deriving, do, else, if,
import, in, infix, infixl, infixr, instance, let, module, newtype, of, then, type, where. There's also three special words that can still be
used as identifiers, so aren't reserved: as, qualified, hiding.

Are we counting the FFI annex ("foreign")?

Strictly, wasn't that added *after* the Haskell 98 report was written? I.e., if you wanted to be ultra-technical about it, it's not part of the original Haskell '98?


That would be the import of "annex", yes. It was not part of the original standard, but is considered part of the working Haskell '98 standard.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to