package codex

  1. Overview
  2. Docs
The Codex library for building static analysers based on abstract interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0-rc4.tar.gz
md5=bc7266a140c6886add673ede90e335d3
sha512=8da42c0ff2c1098c5f9cb2b5b43b306faf7ac93b8f5ae00c176918cee761f249ff45b29309f31a05bbcf6312304f86a0d5a000eb3f1094d3d3c2b9b4c7f5c386

doc/immutable_array/Immutable_array/index.html

Module Immutable_arraySource

Immutable array: array are created at creation time, and never modified after this. Actually uses Array.

Sourcetype 'a t
val length : 'a t -> int
val get : 'a t -> int -> 'a
val init : int -> (int -> 'a) -> 'a t
Sourceval empty : 'a t
Sourcetype sformat = (unit, Stdlib.Format.formatter, unit) Stdlib.format
Sourcetype 'a formatter = Stdlib.Format.formatter -> 'a -> unit
Sourceval pp_array : ?pre:sformat -> ?sep:sformat -> ?suf:sformat -> 'a formatter -> 'a t formatter
val iter : ('a -> unit) -> 'a t -> unit
val iter2 : ('a -> 'b -> unit) -> 'a t -> 'b t -> unit
Sourceval iter3 : ('a -> 'b -> 'c -> unit) -> 'a t -> 'b t -> 'c t -> unit
val iteri : (int -> 'a -> unit) -> 'a t -> unit
val map2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t
val mapi : (int -> 'a -> 'b) -> 'a t -> 'b t
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
Sourceval fold_left2 : ('a -> 'b -> 'c -> 'a) -> 'a -> 'b t -> 'c t -> 'a
Sourceval fold_left3 : ('a -> 'b -> 'c -> 'd -> 'a) -> 'a -> 'b t -> 'c t -> 'd t -> 'a
val map : ('a -> 'b) -> 'a t -> 'b t
val to_list : 'a t -> 'a list
val of_list : 'a list -> 'a t