[Haskell-beginners] User defined operators : setting precedence
Hugo Ferreira
hmf at inescporto.pt
Mon Nov 21 16:34:23 CET 2011
Hello,
Can anyone point me to some documentation that describes
how one may set precedence in a user defined operators?
I have composition operators so that I can write:
let ruleSuffixCapsFreq = ruleT |> suffixT .> capitalizeT .> freqT
but I seem to be forced to write:
let ruleSuffixCapsFreq = ruleT |> (suffixT .> capitalizeT .> freqT)
and I would like to avoid this.
TIA,
Hugo F.
More information about the Beginners
mailing list