[Haskell-cafe] newbe question

feucht at uni-koblenz.de feucht at uni-koblenz.de
Tue Sep 27 15:54:30 EDT 2005


On 27 Sep, Glynn Clements wrote:

> It isn't defined in the prelude or any of the standard libraries.
> 
> The point is that the Haskell tokeniser treats any consecutive
> sequence of the symbols !#$%&*+./<=>?@^|-~ as a single operator token. 
> This occurs regardless of whether a definition exists for the
> operator.
> 
> More generally, the tokenising phase is unaffected by whether or not
> an operator, constructor, identifier etc is defined. A specific
> sequence of characters will always produce the same sequence of tokens
> regardless of what definitions exist.
> 

Thank you,
that is the problem i am wrestling with.

-Philip


More information about the Haskell-Cafe mailing list