Documentation Index
Fetch the complete documentation index at: https://docs.canton.network/llms.txt
Use this file to discover all available pages before exploring further.
DA.Action
ActionModule Snapshot
Lifecycle
Stable.
Notices
Status:
active
Introduced in: 3.4.9
Removed in: -
Warnings: 0
Deprecations: 0
Deprecated since: -Functions
when
Action expressions. For example,
contractId if the Boolean value final is
True, and otherwise do nothing.
This function has short-circuiting semantics, i.e., when both arguments are
present and the first arguments evaluates to False, the second argument
is not evaluated at all.
unless
when.
This function has short-circuiting semantics, i.e., when both arguments are
present and the first arguments evaluates to True, the second argument
is not evaluated at all.
foldrA
foldrA is analogous to foldr, except that its result is
encapsulated in an action. Note that foldrA works from right-to-left
over the list arguments.
foldr1A
foldr1A is like foldrA but raises an error when presented
with an empty list argument.
foldlA
foldlA is analogous to foldl, except that its result is
encapsulated in an action. Note that foldlA works from
left-to-right over the list arguments.
foldl1A
foldl1A is like foldlA but raises an errors when
presented with an empty list argument.
filterA
replicateA
replicateA n act performs the action n times, gathering the
results.
replicateA_
replicateA, but discards the result.