
8 Nov
2006
8 Nov
'06
8:36 a.m.
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 ?? < $!.