[Haskell-cafe] Language simplicity

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Jan 13 14:30:52 EST 2010


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] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100113/da2cf2d5/PGP.bin


More information about the Haskell-Cafe mailing list