package octez-l2-libs

  1. Overview
  2. Docs
type ('i32, 'i64, 'f32, 'f64) op =
  1. | I32 of 'i32
  2. | I64 of 'i64
  3. | F32 of 'f32
  4. | F64 of 'f64
type 'v128 vecop =
  1. | V128 of 'v128
type num = (I32.t, I64.t, F32.t, F64.t) op
type vec = V128.t vecop
type ref_ = ..
type ref_ +=
  1. | NullRef of Types.ref_type
  2. | ExternRef of int32
type value =
  1. | Num of num
  2. | Vec of vec
  3. | Ref of ref_
val as_num : value -> num
val as_vec : value -> vec
val as_ref : value -> ref_
exception TypeError of int * num * Types.num_type
module type NumType = sig ... end
module I32Num : sig ... end
module I64Num : sig ... end
module F32Num : sig ... end
module F64Num : sig ... end
module type VecType = sig ... end
module V128Vec : sig ... end
val type_of_num : ('a, 'b, 'c, 'd) op -> Types.num_type
val type_of_vec : 'a vecop -> Types.vec_type
val type_of_ref' : (ref_ -> Types.ref_type) ref
val type_of_ref : ref_ -> Types.ref_type
val type_of_value : value -> Types.value_type
val eq_num : 'a -> 'b -> bool
val eq_vec : 'a -> 'b -> bool
val eq_ref' : (ref_ -> ref_ -> bool) ref
val eq_ref : ref_ -> ref_ -> bool
val eq : value -> value -> bool
val default_num : Types.num_type -> (I32.t, I64.t, F32.t, F64.t) op
val default_vec : Types.vec_type -> V128.t vecop
val default_ref : Types.ref_type -> ref_
val default_value : Types.value_type -> value
val value_of_bool : bool -> value
val string_of_num : (I32.t, I64.t, F32.t, F64.t) op -> string
val hex_string_of_num : (I32.t, I64.t, F32.t, F64.t) op -> string
val string_of_vec : V128.t vecop -> string
val hex_string_of_vec : V128.t vecop -> string
val string_of_ref' : (ref_ -> string) ref
val string_of_ref : ref_ -> string
val string_of_value : value -> string
val string_of_values : value list -> string
OCaml

Innovation. Community. Security.