package bitv

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

Install

Dune Dependency

Authors

Maintainers

Sources

bitv-1.6.tbz
sha256=222ba9d8d518880a27e83d4a0ca564c2bdaf46423b7302bed675b947dde3e449
sha512=c67efe637a6c7a93f8e82e40e137122a1125073350ae3a397c10e85b40e748cfcd20df0e8fe8d700886770d68185f6615d7199d500d1b8bcf98e4a57ddab5df6

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.