[Haskell-cafe] Fractional/negative fixity?

Henning Thielemann lemming at henning-thielemann.de
Mon Nov 6 05:27:54 EST 2006


On Sat, 4 Nov 2006, Bulat Ziganshin wrote:

> Hello Dan,
> 
> Saturday, November 4, 2006, 5:07:15 AM, you wrote:
> 
> > Here's an idea that (I think) is useful and backwards compatible: 
> > fractional and negative fixity.
> 
> yes, i think the same. for example, once i've tried to define postfix
> 'when' operator like those in perl/ruby
> 
> print msg `on` mode==debug
> 
> but failed because my code frequently contains '$' and there is no way
> to define operation with a lower precedence

This could be solved by the solutions proposed in this thread:
 http://www.haskell.org/pipermail/haskell-cafe/2006-October/018923.html


More information about the Haskell-Cafe mailing list