package exenum

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = {
  1. cardinal : Big_int.big_int option;
  2. n_parts : int option;
  3. parts : 'a Parts.part ExtArray.t;
  4. new_part : int -> 'a Parts.part;
  5. title : string Stdlib.Lazy.t;
}
val cardinal : 'a t -> Big_int.big_int option
val check_array_index : int -> 'a t -> bool
val get_part : 'a t -> int -> 'a Parts.part
val get_in_parts : 'a t -> Big_int.big_int -> int -> 'a
val get : 'a t -> Big_int.big_int -> 'a
val from_single_part : string Stdlib.Lazy.t -> 'a Parts.part -> 'a t
val from_list : ?name:string -> 'a list -> 'a t
val pay : 'a t Stdlib.Lazy.t -> 'a t
val map : 'a t -> ('a -> 'b) -> 'b t
val sub : max:Big_int.big_int -> 'a t -> 'a t
val sum_cardinals : Big_int.big_int -> 'a t list -> Big_int.big_int option
val infmax : 'a option -> 'a option -> 'a option
val max_parts : 'a t list -> int option
val union : 'a t list -> 'a t
val prod_cardinals : Big_int.big_int option -> 'a t list -> Big_int.big_int option
val find_vectors_aux : int -> int -> bool -> int list list -> int list -> int -> int list -> int list list
val find_vectors : int -> int list -> int list list
val vector_to_part_list : 'a t list -> int list -> 'a Parts.part list
val prod_parts : int -> 'a t list -> 'a list Parts.part
val product : 'a t list -> 'a list t
OCaml

Innovation. Community. Security.