[Haskell-cafe] Efficiency Question

Stefan Holdermans sholderm at students.cs.uu.nl
Sat Jan 15 13:31:33 EST 2005


Keaan,

> This reminds me, what symbols are valid for Haskell operators?

See Chapter 9 of the Report [1].

   symbol ->  ascSymbol | uniSymbol<special | _ | : | " | '>
   ascSymbol -> ! | # | $ | % | & | * | + | . | / | < | = | > | ? | @ | 
\ | ^ | | | - | ~
   uniSymbol -> any Unicode symbol or punctuation
   varsym -> ( symbol {symbol | :})<reservedop | dashes>

HTH,

Stefan

[1] http://haskell.org/onlinereport/syntax-iso.html



More information about the Haskell-Cafe mailing list