package core
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=b0e23c1b1049e48cbbaa596d49927c66e6026506031bd7f5b485af6e9475b4e3
doc/src/core/indexed_container_intf.ml.html
Source file indexed_container_intf.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
(** This module extends {!Base.Indexed_container}. *) open! Import open Perms.Export module type S1_permissions = sig include Container.S1_permissions val foldi : ('a, [> read ]) t -> init:'acc -> f:(int -> 'acc -> 'a -> 'acc) -> 'acc val iteri : ('a, [> read ]) t -> f:(int -> 'a -> unit) -> unit val existsi : ('a, [> read ]) t -> f:(int -> 'a -> bool) -> bool val for_alli : ('a, [> read ]) t -> f:(int -> 'a -> bool) -> bool val counti : ('a, [> read ]) t -> f:(int -> 'a -> bool) -> int val findi : ('a, [> read ]) t -> f:(int -> 'a -> bool) -> (int * 'a) option val find_mapi : ('a, [> read ]) t -> f:(int -> 'a -> 'b option) -> 'b option end module type S1_with_creators_permissions = sig include Container.S1_with_creators_permissions include S1_permissions with type ('a, 'perms) t := ('a, 'perms) t val init : int -> f:(int -> 'a) -> ('a, [< _ perms ]) t val mapi : ('a, [> read ]) t -> f:(int -> 'a -> 'b) -> ('b, [< _ perms ]) t val filteri : ('a, [> read ]) t -> f:(int -> 'a -> bool) -> ('a, [< _ perms ]) t val filter_mapi : ('a, [> read ]) t -> f:(int -> 'a -> 'b option) -> ('b, [< _ perms ]) t val concat_mapi : ('a, [> read ]) t -> f:(int -> 'a -> ('b, [> read ]) t) -> ('b, [< _ perms ]) t end module type Indexed_container = sig (** @open *) include module type of struct include Base.Indexed_container end module type S1_permissions = S1_permissions module type S1_with_creators_permissions = S1_with_creators_permissions end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>