On Wed, 8 Nov 2006, Bulat Ziganshin wrote: > Hello Nicolas, > > Wednesday, November 8, 2006, 1:25:23 AM, you wrote: > > > prec ?? < $ > > over-specification). You want ?? to bind more tightly than does $; > > that's exactly what this approach would let you specify. > > and how then compiler will guess that is relational priority of this > operator comparing to '$!' ? :)
(What might the smiley mean?) It could not guess it, and this is good! However, if in the Prelude it is defined, that ($) and ($!) have the same precedence, then the compiler could derive automatically that prec ?? < $!. _______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime