purescript-0.12.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.AST.Operators

Description

Operators fixity and associativity

Synopsis

Documentation

type Precedence = Integer Source #

A precedence level for an infix operator

data Associativity Source #

Associativity for infix operators

Constructors

Infixl 
Infixr 
Infix 

Instances

Eq Associativity Source # 
Ord Associativity Source # 
Show Associativity Source # 
Generic Associativity Source # 

Associated Types

type Rep Associativity :: * -> * #

ToJSON Associativity Source # 
FromJSON Associativity Source # 
NFData Associativity Source # 

Methods

rnf :: Associativity -> () #

type Rep Associativity Source # 
type Rep Associativity = D1 * (MetaData "Associativity" "Language.PureScript.AST.Operators" "purescript-0.12.0-GnFPE64AyqYHZk4VD04uBy" False) ((:+:) * (C1 * (MetaCons "Infixl" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Infixr" PrefixI False) (U1 *)) (C1 * (MetaCons "Infix" PrefixI False) (U1 *))))

data Fixity Source #

Fixity data for infix operators

Instances