package minicaml

  1. Overview
  2. Docs
type lowest_found =
  1. | FInt
  2. | FFloat
  3. | FComplex
val find_lowest_kind : lowest_found -> Types.evt list -> lowest_found
val numLower : lowest_found -> Types.evt -> Types.evt
val flattenNumList : Types.evt list -> lowest_found * Types.evt list

Accept a list of numbers and flatten out their kind on the numerical tower hierarchy

val unpackIntList : Types.evt list -> int list
val unpackFloatList : Types.evt list -> float list
val unpackComplexList : Types.evt list -> Types.complext list
val add : Types.evt list -> Types.evt
val mult : Types.evt list -> Types.evt
val sub : Types.evt list -> Types.evt
val div : Types.evt list -> Types.evt
val table : (string * ((Types.evt list -> Types.evt) * int)) list
OCaml

Innovation. Community. Security.