package bitv

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Bitv_stringSource

  • deprecated

    Now identical to Bitv.

Sourcetype t
Sourceval create : int -> bool -> t
Sourceval init : int -> (int -> bool) -> t
Sourceval set : t -> int -> bool -> unit
Sourceval get : t -> int -> bool
Sourceval length : t -> int
Sourceval equal : t -> t -> bool
Sourceval max_length : int
  • deprecated

    Use exceed_max_length instead.

Sourceval exceeds_max_length : int -> bool
Sourceval copy : t -> t
Sourceval fill : t -> int -> int -> bool -> unit
Sourceval iter : (bool -> unit) -> t -> unit
Sourceval map : (bool -> bool) -> t -> t
Sourceval iteri : (int -> bool -> unit) -> t -> unit
Sourceval mapi : (int -> bool -> bool) -> t -> t
Sourceval fold_left : ('a -> bool -> 'a) -> 'a -> t -> 'a
Sourceval fold_right : (bool -> 'a -> 'a) -> t -> 'a -> 'a
Sourceval foldi_left : ('a -> int -> bool -> 'a) -> 'a -> t -> 'a
Sourceval foldi_right : (int -> bool -> 'a -> 'a) -> t -> 'a -> 'a
Sourceval pop : t -> int
Sourceval iteri_true : (int -> unit) -> t -> unit
Sourceval bw_and : t -> t -> t
Sourceval bw_or : t -> t -> t
Sourceval bw_xor : t -> t -> t
Sourceval bw_not : t -> t
Sourceval to_list : t -> int list
Sourceval of_list : int list -> t
Sourceval of_list_with_length : int list -> int -> t

Only if you know what you are doing...

Sourceval unsafe_set : t -> int -> bool -> unit
Sourceval unsafe_get : t -> int -> bool
OCaml

Innovation. Community. Security.