[Haskell-cafe] Operator precedence
bulat.ziganshin at gmail.com
Mon Sep 6 13:47:51 EDT 2010
Monday, September 6, 2010, 9:00:32 PM, you wrote:
> Is there a handy list of operators and their precedence somewhere?
unlike most languages, operators are user-definable in haskell. so
there is no comprehensive list
any function with two arguments van be used as operator:
a `min` b
any operator may be defined or used as a function:
(&&) a b = ...
main = print ((&&) True False)
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe