Safe Haskell | None |
---|---|
Language | Haskell2010 |
Operators fixity and associativity
Synopsis
- 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
Instances
showAssoc :: Associativity -> String Source #
readAssoc :: String -> Associativity Source #
Fixity data for infix operators
Instances
Eq Fixity Source # | |
Ord Fixity Source # | |
Show Fixity Source # | |
Generic Fixity Source # | |
NFData Fixity Source # | |
Defined in Language.PureScript.AST.Operators | |
ToJSON Fixity Source # | |
Defined in Language.PureScript.AST.Operators | |
type Rep Fixity Source # | |
Defined in Language.PureScript.AST.Operators type Rep Fixity = D1 (MetaData "Fixity" "Language.PureScript.AST.Operators" "purescript-0.13.0-1whdl2565Nb1wvlLK7uK18" False) (C1 (MetaCons "Fixity" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Associativity) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Precedence))) |