[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Language simplicity

Subject: Re: [Haskell-cafe] Language simplicity
From: Daniel Fischer
Date: Tue, 12 Jan 2010 23:26:31 +0100
Am Dienstag 12 Januar 2010 23:12:20 schrieb Niklas Broberg:
> > 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.

Okay, 'as' is easy. But can you find a situation where 'qualified' or 
'hiding' would be natural choices for an identifier? I'd love to see those 
in some code :)

> /Niklas

Haskell-Cafe mailing list
[email protected]

<Prev in Thread] Current Thread [Next in Thread>