package monolith
Library
Module
Module type
Parameter
Class
Class type
val elements_of_iter : ('a, 'c) iter -> 'c -> 'a list
elements_of_iter
transforms an iteration function iter
into an elements
function, which returns the list of the elements of a collection.
val elements_of_foldr : ('a, 'a list, 'c) foldr -> 'c -> 'a list
elements_of_foldr
transforms an iteration function foldr
into an elements
function, which returns the list of the elements of a collection.
val elements_of_foldl : ('a, 'a list, 'c) foldl -> 'c -> 'a list
elements_of_foldl
transforms an iteration function foldl
into an elements
function, which returns the list of the elements of a collection.
val elements_of_iteri : ('a, 'b, 'c) iteri -> 'c -> ('a * 'b) list
elements_of_iteri
transforms an iteration function iteri
into an elements
function, which returns the list of key-value pairs of a collection.
val elements_of_foldri :
('a, 'b, ('a * 'b) list, 'c) foldri ->
'c ->
('a * 'b) list
elements_of_foldri
transforms an iteration function foldri
into an elements
function, which returns the list of key-value pairs of a collection.
val elements_of_foldli :
('a, 'b, ('a * 'b) list, 'c) foldli ->
'c ->
('a * 'b) list
elements_of_foldli
transforms an iteration function foldli
into an elements
function, which returns the list of key-value pairs of a collection.