Hong Yang <hyang...@gmail.com> writes:

> But in my program, I did not define "--++".

And that's what the error tells you, no?

Defining operators (or not) doesn't change the syntax.  Since the lexeme
--++ is syntactially a valid operator, it will be parsed as such,
regardless of whether it is defined or not.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to