package bitv

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

Install

Dune Dependency

Authors

Maintainers

Sources

2.0.tar.gz
md5=3cc19ac840f22c19508aac5063fcb43c
sha512=8a96af5d5573746b004fe018ef2b6faa0c3adf52c356e8a7b3ba97d3ba3cead685e1f3e174d46ccd3a09bb3215a4936501b08eabd36f0492a240ea20128bafae

doc/bitv.string/Bitv_string/index.html

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.