Safe Haskell | Safe-Inferred |
---|
Test operators with or without fixity declarations
Documentation
(+-) :: a -> a -> a
Operator with no fixity
(*/) :: a -> a -> a infixr 7
Operator with infixr 7
foo :: a -> a -> a infixl 3
Named function with infixl 3
data Foo
Data type with operator constructors
pattern (:+) :: t -> t -> [t] infixr 3
Pattern synonym, infixr 3
data a <-> b where infixl 6
Type name, infixl 6 and GADT constructor
type family a ++ b infix 3
Type family with fixity
data family a ** b infix 9
Data family with fixity
class a ><> b where infixr 1
Class with fixity, including associated types