idris-1.3.0: Functional Programming Language with Dependent Types
IRTS.JavaScript.PrimOp
Description
type PrimF = [JsExpr] -> JsExpr Source #
type PrimDec = (Bool, JsPrimTy, PrimF) Source #
data JsPrimTy Source #
Constructors
Instances
Methods
(==) :: JsPrimTy -> JsPrimTy -> Bool #
(/=) :: JsPrimTy -> JsPrimTy -> Bool #
compare :: JsPrimTy -> JsPrimTy -> Ordering #
(<) :: JsPrimTy -> JsPrimTy -> Bool #
(<=) :: JsPrimTy -> JsPrimTy -> Bool #
(>) :: JsPrimTy -> JsPrimTy -> Bool #
(>=) :: JsPrimTy -> JsPrimTy -> Bool #
max :: JsPrimTy -> JsPrimTy -> JsPrimTy #
min :: JsPrimTy -> JsPrimTy -> JsPrimTy #
primDB :: Map PrimFn PrimDec Source #
jsPrimCoerce :: JsPrimTy -> JsPrimTy -> JsExpr -> JsExpr Source #