package current
Pipeline language for keeping things up-to-date
Install
Dune Dependency
Authors
Maintainers
Sources
current-0.6.2.tbz
sha256=ed312cab4ce8d13b9547ee2f935a6954f1d5211de1c22d44d85baaeb9f5fca9d
sha512=c2981a2c7f05bd6f235662b74ee3a679cc395be3d2cca808fac3dc562d6307e8bfe05efff40f42fa4738443cc2fe13929bab9d815c43d741950e5e0e1e6da7a6
doc/current.term/Current_term/Make/Syntax/index.html
Module Make.Syntax
Source
Applicative syntax
Syntax for map
. Use this to process the result of a term without using any special effects.
Syntax for pair
. Use this to depend on multiple terms.
Monadic syntax
Monadic bind
. Use this if the next part of your pipeline can only be determined at runtime by looking at the concrete value. Static analysis cannot predict what this will do until the input is ready.
let>
is used to define a component. e.g.:
component "my-op" |>
let> x = fetch uri in
...
Like let*
, but allows you to name the operation. e.g.:
component "my-op" |>
let** x = fetch uri in
...
Syntax for pair
. Use this to depend on multiple terms. Note: this is the same as and+
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page