mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 08:48:21 +03:00
664a0c0076
* add ActionState to the standard library * use 1 ActionState, 1 get, 1 put in low-level trigger library * introduce TriggerStateA for updateState * fix tests and examples for new updateState signature CHANGELOG_BEGIN - [Triggers] The ``updateState`` function now returns a ``TriggerStateA``. This is an action like ``TriggerA``, but doesn't permit emitting commands. Instead of taking the state as an argument and returning a new state, you can manipulate the state with ``get``, ``put``, and ``modify``. Any existing ``updateState`` can be ported by replacing ``s -> expr`` in the lambda expression with ``-> modify $ \s ->``, and then made to look nicer from there as desired. See `issue #7621 <https://github.com/digital-asset/daml/pull/7621>`__. CHANGELOG_END * some DAML docs for updateState and TriggerStateA |
||
---|---|---|
.. | ||
daml-extension | ||
daml-lf-ast | ||
daml-lf-proto | ||
daml-lf-reader | ||
daml-lf-tools | ||
daml-lf-verify | ||
daml-licenses | ||
damlc | ||
ghcide | ||
hie-core | ||
lsp-tests | ||
repl-service | ||
scenario-service | ||
README.md |
DAML Compiler
This directory contains several libraries used by and the executable for the DAML compiler.
Libraries
daml-lf-ast
: The DAML-LF AST and type checker.