Here's an idea that (I think) is useful and backwards compatible: fractional and negative fixity.

There have been 3 separate times where I've wanted an operator just above 0 ($) but less than 1 (>>= or >>>), or else just below 0 (like a superlow $$)

infix  0.5 ???
infix -1   $$

The only change would be internal to compiler, wouldn't it? Since fixity is just syntactic sugar, there should be no semantic difficulties.

Dan

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to