1
1
mirror of https://github.com/idris-lang/Idris2.git synced 2025-01-08 00:40:10 +03:00
Idris2/libs/prelude/Prelude/Ops.idr

29 lines
419 B
Idris
Raw Normal View History

module Prelude.Ops
-- Numerical operators
infix 6 ==, /=, <, <=, >, >=
infixl 7 <<, >> -- unused
infixl 8 +, -
infixl 9 *, /
-- Boolean operators
infixr 5 &&
infixr 4 ||
-- List and String operators
infixr 7 ::, ++
-- Functor/Applicative/Monad/Algebra operators
infixl 1 >>=, >>
infixr 2 <|>
infixl 3 <*>, *>, <*
2020-08-22 10:13:34 +03:00
infixr 4 <$>, $>, <$
infixl 6 <+>
-- Utility operators
infixr 9 .
infixr 0 $
infixl 9 `div`, `mod`