Safe Haskell | None |
---|---|
Language | Haskell2010 |
Operators fixity and associativity
- type Precedence = Integer
- data Associativity
- showAssoc :: Associativity -> String
- readAssoc :: String -> Associativity
- data Fixity = Fixity Associativity Precedence
Documentation
type Precedence = Integer Source #
A precedence level for an infix operator
data Associativity Source #
Associativity for infix operators
showAssoc :: Associativity -> String Source #
readAssoc :: String -> Associativity Source #