Module Mavryk_protocol_environment_demo_counter.FallbackArray

type 'a t
val make : int -> 'a -> 'a t
val of_list : fallback:'b -> proj:('a -> 'b) -> 'a list -> 'b t
val fallback : 'a t -> 'a
val length : 'a t -> int
val get : 'a t -> int -> 'a
val set : 'a t -> int -> 'a -> unit
val iter : ('a -> unit) -> 'a t -> unit
val map : ('a -> 'b) -> 'a t -> 'b t
val fold : ('b -> 'a -> 'b) -> 'a t -> 'b -> 'b
val fold_map : ('b -> 'a -> 'b * 'c) -> 'a t -> 'b -> 'c -> 'b * 'c t