package bitv

  1. Overview
  2. Docs
A bit vector library for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

bitv-1.4.tbz
sha256=d81167614a0ea2c3e371562bdc5abfbced9801bbe75f5af82cc7793639c5bbd6
sha512=82c0da34c2155ec5640a4b96844d25c34675daab5ee535fa612c3c9fbd7fa2bda9a2a12ec53947f9205b8f40686da3ff3b77e52ce8b1ff3ea75321fa35f6cf65

doc/bitv.string/Bitv_string/index.html

Module Bitv_stringSource

Variant implementation. See Bitv for documentation.

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 max_length : int
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.