Safe Haskell | Safe-Inferred |
---|---|
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
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.9-73KndBh0GamC7RCYwFLhcE" '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))) |