idris-1.3.2: 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
Defined in IRTS.JavaScript.PrimOp
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 #