[Haskell-cafe] Language simplicity

Niklas Broberg niklas.broberg at gmail.com
Thu Jan 14 08:54:00 EST 2010


> Since you can define operators in Haskell, would it make sense to include
> '=', '--', ':', ',' etc. as "reserved names" since those can't be used as
> operator names?

They are indeed reserved operators in the report. 11 of those:

.. : :: = \ | <- -> @ ~ =>

To be fair, _ is also a reserved identifier, so 22 and not 21 as I
said previously. So a total of 33 reserved "names".

/Niklas


More information about the Haskell-Cafe mailing list