package batteries
A community-maintained standard library extension
Install
dune-project
Dependency
Authors
Maintainers
Sources
v3.5.0.tar.gz
md5=e4b70d1a716f0aaba36f419f618d0a2e
sha512=a31f1f8cf2c7c3c6c757f3bfae98ff61bb32bab6a1f1e215937df42bcfa447aad41a37edb28d7bcecb88b3838ed8bd57142bcf8e2d28e09bb538055fd8a3b72d
doc/batteries.unthreaded/BatEnum/WithMonad/index.html
Module BatEnum.WithMonad
Monadic operations on Enumerations containing monadic elements
This module will let you use sequence and fold_monad functions over enumerations.
Parameters
module Mon : BatInterfaces.Monad
Signature
type 'a m = 'a Mon.m
Type of the monadic elements.
sequence e
evaluates each monadic elements (of type 'a m
) contained in the enumeration e
to get a monadic enumeration of 'a
elements, of type 'a BatEnum.t m
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page