Module type Fadbad.OpS
Type of a module of operators
type ttype eltType of values: this is the type that the user should use with
makeand that will be returned byget
Constructors
val integer : int -> tWrap an integer
val zero : unit -> tConstruct a fresh value corresponding to 0
val one : unit -> tConstruct a fresh value corresponding to 1
val two : unit -> tConstruct a fresh value corresponding to 2
Destructors
Arithmetic operators
val (+) : t -> t -> tval (+=) : t -> t -> tval (-) : t -> t -> tval (-=) : t -> t -> tval (*) : t -> t -> tval (*=) : t -> t -> tval (/) : t -> t -> tval (/=) : t -> t -> tval (**) : t -> t -> tval inv : t -> tval sqr : t -> tval sqrt : t -> tval log : t -> tval exp : t -> tval sin : t -> tval cos : t -> tval tan : t -> tval asin : t -> tval acos : t -> tval atan : t -> t