| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Language.PureScript.AST.Operators
Description
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
Constructors
| Fixity Associativity Precedence |
Instances
| ToJSON Fixity Source # | |
Defined in Language.PureScript.AST.Operators | |
| Generic Fixity Source # | |
| Show Fixity Source # | |
| NFData Fixity Source # | |
Defined in Language.PureScript.AST.Operators | |
| Eq Fixity Source # | |
| Ord Fixity Source # | |
| Serialise Fixity Source # | |
| type Rep Fixity Source # | |
Defined in Language.PureScript.AST.Operators type Rep Fixity = D1 ('MetaData "Fixity" "Language.PureScript.AST.Operators" "purescript-0.15.14-JcflwnDm1Hv5HxS5CV5TJ2" '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))) | |