Package hydra.haskell
Interface Operators
-
public interface OperatorsAST operators for Haskell
-
-
Method Summary
Static Methods Modifier and Type Method Description static OpandOp()Logical AND operator (&&)static OpapOp()Applicative apply operator (<*>)static OpapplyOp()Low-precedence function application ($)static OpappOp()Function application operator (whitespace)static OparrowOp()Function type arrow (->)static OpassertOp()Type class constraint arrow (=>)static OpbindOp()Monadic bind operator (>>=)static OpcaseOp()Case alternative arrow (->)static OpcomposeOp()Function composition (.)static OpconcatOp()List concatenation (++)static OpconsOp()List cons (:)static OpdefineOp()Definition operator (=)static OpdiamondOp()Semigroup append (<>)static OpdivideOp()Fractional division (/)static OpdivOp()Integer division (`div`)static OpelemOp()List membership (`elem`)static OpequalOp()Equality comparison (==)static OpfmapOp()Functor map (<$>)static OpgteOp()Greater than or equal (>=)static OpgtOp()Greater than (>)static OpindexOp()List indexing (!!)static OplambdaOp()Lambda body arrow (->)static OplteOp()Less than or equal (<=)static OpltOp()Less than (<)static OpminusOp()Subtraction (-).static OpmodOp()Modulo (`mod`)static OpmultOp()Multiplication (*).static OpneqOp()Not equal (/=)static OpnotElemOp()List non-membership (`notElem`)static OporOp()Logical OR (||)static OpplusOp()Addition (+).static OpquotOp()Integer quotient (`quot`)static OpremOp()Integer remainder (`rem`)static OptypeOp()Type annotation (::)
-
-
-
Method Detail
-
andOp
static Op andOp()
Logical AND operator (&&)
-
apOp
static Op apOp()
Applicative apply operator (<*>)
-
appOp
static Op appOp()
Function application operator (whitespace)
-
applyOp
static Op applyOp()
Low-precedence function application ($)
-
arrowOp
static Op arrowOp()
Function type arrow (->)
-
assertOp
static Op assertOp()
Type class constraint arrow (=>)
-
bindOp
static Op bindOp()
Monadic bind operator (>>=)
-
caseOp
static Op caseOp()
Case alternative arrow (->)
-
composeOp
static Op composeOp()
Function composition (.)
-
concatOp
static Op concatOp()
List concatenation (++)
-
consOp
static Op consOp()
List cons (:)
-
defineOp
static Op defineOp()
Definition operator (=)
-
diamondOp
static Op diamondOp()
Semigroup append (<>)
-
divOp
static Op divOp()
Integer division (`div`)
-
divideOp
static Op divideOp()
Fractional division (/)
-
elemOp
static Op elemOp()
List membership (`elem`)
-
equalOp
static Op equalOp()
Equality comparison (==)
-
fmapOp
static Op fmapOp()
Functor map (<$>)
-
gtOp
static Op gtOp()
Greater than (>)
-
gteOp
static Op gteOp()
Greater than or equal (>=)
-
indexOp
static Op indexOp()
List indexing (!!)
-
lambdaOp
static Op lambdaOp()
Lambda body arrow (->)
-
ltOp
static Op ltOp()
Less than (<)
-
lteOp
static Op lteOp()
Less than or equal (<=)
-
minusOp
static Op minusOp()
Subtraction (-). Originally: associativityLeft
-
modOp
static Op modOp()
Modulo (`mod`)
-
multOp
static Op multOp()
Multiplication (*). Originally: associativityLeft
-
neqOp
static Op neqOp()
Not equal (/=)
-
notElemOp
static Op notElemOp()
List non-membership (`notElem`)
-
orOp
static Op orOp()
Logical OR (||)
-
plusOp
static Op plusOp()
Addition (+). Originally: associativityLeft
-
quotOp
static Op quotOp()
Integer quotient (`quot`)
-
remOp
static Op remOp()
Integer remainder (`rem`)
-
typeOp
static Op typeOp()
Type annotation (::)
-
-