Module Cduce_lib.Value
type t=|Pair of{mutable fst : t;mutable snd : t;mutable concat : bool;}|Xml of t * t * t|XmlNs of t * t * t * Ns.table|Record of t Imap.t|Atom of Cduce_types.AtomSet.V.t|Integer of Cduce_types.Intervals.V.t|Char of Cduce_types.CharSet.V.t|Abstraction of (Cduce_types.Types.descr * Cduce_types.Types.descr) list option * t -> t * bool|Abstract of Cduce_types.AbstractSet.V.t|String_latin1 of{i : int;j : int;str : string;mutable tl : t;}|String_utf8 of{i : Encodings.Utf8.uindex;j : Encodings.Utf8.uindex;str : Encodings.Utf8.t;mutable tl : t;}|Absent
exceptionCDuceExn of t
val raise' : t -> 'aval failwith' : string -> 'aval tagged_tuple : string -> t list -> tval print : Stdlib.Format.formatter -> t -> unitval dump_xml : Stdlib.Format.formatter -> t -> unitval normalize : t -> tval const : Cduce_types.Types.const -> tval inv_const : t -> Cduce_types.Types.constval string_latin1 : string -> tval string_utf8 : Encodings.Utf8.t -> tval substring_utf8 : Encodings.Utf8.uindex -> Encodings.Utf8.uindex -> Encodings.Utf8.t -> t -> tval nil : tval vtrue : tval vfalse : tval vbool : bool -> tval pair : t -> t -> tval vrecord : (Cduce_types.Ident.Label.t * t) list -> t- returns
a Record value from an associative list of fields
val sequence : t list -> tval sequence_rev : t list -> tval get_sequence : t -> t listval get_sequence_rev : t -> t listval fold_sequence : ('a -> t -> 'a) -> 'a -> t -> 'aval atom_ascii : string -> tval label_ascii : string -> Cduce_types.Ident.labelval record : (Cduce_types.Ident.label * t) list -> tval record_ascii : (string * t) list -> tval get_field : t -> Cduce_types.Ident.label -> tval get_field_ascii : t -> string -> tval get_variant : t -> string * t optionval abstract : Cduce_types.AbstractSet.elem -> 'a -> tval get_abstract : t -> 'aval mk_ref : Cduce_types.Types.t -> t -> tval mk_ext_ref : Cduce_types.Types.t option -> (unit -> t) -> (t -> unit) -> tval iter_xml : (Encodings.Utf8.t -> unit) -> (t -> unit) -> t -> unitval concat : t -> t -> tval flatten : t -> tval append : t -> t -> tval float : float -> tval cdata : string -> tval get_string_latin1 : t -> stringval get_string_utf8 : t -> Encodings.Utf8.t * tval is_str : t -> boolval is_seq : t -> boolval get_int : t -> intval get_integer : t -> Cduce_types.Intervals.V.tval get_fields : t -> (Cduce_types.Ident.Label.t * t) list- returns
an associative list of fields from a Record value
val get_pair : t -> t * tval hash : t -> intval compare : t -> t -> intval equal : t -> t -> boolval (|<|) : t -> t -> boolval (|>|) : t -> t -> boolval (|<=|) : t -> t -> boolval (|>=|) : t -> t -> boolval (|=|) : t -> t -> boolval (|<>|) : t -> t -> boolval set_cdr : t -> t -> unitval append_cdr : t -> t -> tval ocaml2cduce_bool : bool -> tval cduce2ocaml_bool : t -> boolval ocaml2cduce_int : int -> tval cduce2ocaml_int : t -> intval ocaml2cduce_string : string -> tval cduce2ocaml_string : t -> stringval ocaml2cduce_string_utf8 : Encodings.Utf8.t -> tval cduce2ocaml_string_utf8 : t -> Encodings.Utf8.tval ocaml2cduce_char : char -> tval cduce2ocaml_char : t -> charval ocaml2cduce_bigint : Big_int.big_int -> tval cduce2ocaml_bigint : t -> Big_int.big_intval ocaml2cduce_option : ('a -> t) -> 'a option -> tval cduce2ocaml_option : (t -> 'a) -> t -> 'a optionval ocaml2cduce_wchar : int -> tval ocaml2cduce_atom : Cduce_types.AtomSet.V.t -> tval cduce2ocaml_atom : t -> Cduce_types.AtomSet.V.tval ocaml2cduce_list : ('a -> t) -> 'a list -> tval cduce2ocaml_list : (t -> 'a) -> t -> 'a listval ocaml2cduce_array : ('a -> t) -> 'a array -> tval cduce2ocaml_array : (t -> 'a) -> t -> 'a arrayval ocaml2cduce_constr : t -> t array -> tval cduce2ocaml_constr : int Cduce_types.AtomSet.map -> t -> Stdlib.Obj.tval cduce2ocaml_variant : int Cduce_types.AtomSet.map -> t -> Stdlib.Obj.tval ocaml2cduce_int32 : int32 -> tval cduce2ocaml_int32 : t -> int32val ocaml2cduce_int64 : int64 -> tval cduce2ocaml_int64 : t -> int64val ocaml2cduce_fun : (t -> 'a) -> ('b -> t) -> ('a -> 'b) -> tval cduce2ocaml_fun : ('a -> t) -> (t -> 'b) -> t -> 'a -> 'bval ocaml2cduce_seq : ('a -> t) -> 'a Stdlib.Seq.t -> tval cduce2ocaml_seq : (t -> 'a) -> t -> 'a Stdlib.Seq.tval print_utf8 : Encodings.Utf8.t -> unitval add : t -> t -> tval merge : t -> t -> tval sub : t -> t -> tval mul : t -> t -> tval div : t -> t -> tval modulo : t -> t -> tval pair : t -> t -> tval xml : t -> t -> t -> tval apply : t -> t -> tval mk_record : Cduce_types.Ident.label array -> t array -> tval transform : (t -> t) -> t -> tval xtransform : (t -> t) -> t -> tval remove_field : Cduce_types.Ident.label -> t -> t