[Haskell-cafe] Operator precedence

michael rice nowgate at yahoo.com
Mon Sep 6 13:12:03 EDT 2010


Thanks, Daniel.

This be all of them?

Michael

infixr 9  .
 
infixr 8  ^, ^^, ⋆⋆
 
infixl 7  ⋆, /, ‘quot‘, ‘rem‘, ‘div‘, ‘mod‘
 
infixl 6  +, -

 
                                                                                   

                                                                                   

-- The (:) operator is built-in syntax, and cannot legally be given
 
-- a fixity declaration; but its fixity is given by:
 
--   infixr 5  :
 

 
infix  4  ==, /=, <, <=, >=, >
 
infixr 3  &&
 
infixr 2  ||
 
infixl 1  >>, >>=
 
infixr 1  =<<
 
infixr 0  $, $!, ‘seq‘


--- On Mon, 9/6/10, Daniel Díaz <lazy.ddiaz at gmail.com> wrote:

From: Daniel Díaz <lazy.ddiaz at gmail.com>
Subject: Re: [Haskell-cafe] Operator precedence
To: "michael rice" <nowgate at yahoo.com>, haskell-cafe at haskell.org
Date: Monday, September 6, 2010, 1:06 PM

Take a look to the Haskell Report:
 
http://www.haskell.org/onlinereport/haskell2010/haskellch9.html#x16-1710009

-- 
Daniel Díaz




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100906/7761103d/attachment.html


More information about the Haskell-Cafe mailing list