base
Full standard library replacement for OCaml
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package base
-
base
-
-
base.base_internalhash_types
-
base.caml
-
base.md5
-
base.shadow_stdlib
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library base
Parameters
module T : sig ... end
Signature
include Container.Generic with type 'a t := 'a T.t with type 'a elt := 'a T.elt
val length : _ T.t -> int
val is_empty : _ T.t -> bool
val fold_until :
'a T.t ->
init:'accum ->
f:( 'accum -> 'a T.elt -> ( 'accum, 'final ) Container.Continue_or_stop.t ) ->
finish:( 'accum -> 'final ) ->
'final
val sum :
(module Container.Summable with type t = 'sum) ->
'a T.t ->
f:( 'a T.elt -> 'sum ) ->
'sum
These are all like their equivalents in Container
except that an index starting at 0 is added as the first argument to f
.
ON THIS PAGE
No table of contents