[Haskell-cafe] Language simplicity

Roel van Dijk vandijk.roel at gmail.com
Thu Jan 14 06:41:02 EST 2010


> Thus speaketh the report (http://haskell.org/onlinereport/lexemes.html):
>
> symbol   ->      ascSymbol | uniSymbol<special | _ | : | " | '>
> ascSymbol       ->      ! | # | $ | % | & | * | + | . | / | < | = | > | ? | @
>        |       \ | ^ | | | - | ~
> uniSymbol        ->      any Unicode symbol or punctuation
>
> Punctuation characters are legitimate for operators.

Aha, didn't know that (or forgot it). Also kind of obvious when you
consider that '.' and ':' are punctuation characters.

I think it is time for an Obfuscated Haskell Contest :-)


More information about the Haskell-Cafe mailing list