[Haskell-cafe] Operator precedence

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Sep 6 13:47:51 EDT 2010

Hello michael,

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)

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list