[Haskell-cafe] Fractional/negative fixity?

Dan Weston westondan at imageworks.com
Fri Nov 3 21:07:15 EST 2006


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



More information about the Haskell-Cafe mailing list