package gapi-ocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A simple OCaml client for Google Services
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.4.7.tar.gz
sha256=3a9e7ba4446b90f842c10dc2e49211c394c9f012715da01bb0b80baccabb41bb
md5=27919a0188772392e9b74bfd95fbaaa1
doc/gapi-ocaml/GapiLens/index.html
Module GapiLensSource
Functional lenses.
Based on F# implementation in FSharpx (see src/FSharpx.Core/Lens.fs for the original implementation)
Lens type definition
Combinators
Selects a lens checking a predicate.
cond pred lensTrue lensFalse: pred is applied to source. If true, lensTrue is selected. If false, lensFalse is selected.
State monad integration
Modifies a value in the state monad.
Stock lenses
Lens for a particular key in a hashtable
Lens for a particular key in an associative list
Lens for extracting the value from an option type (same as Option.get)
List combinators
Creates a lens that maps the given lens in a list
Isomorphism
Applies an isomorphism to the value viewed through a lens
Infix operators for the state monad
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page