daml/compatibility/bazel_tools
Stephen Compall 664a0c0076
add Action to high-level trigger updateState (#7621)
* 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
2020-10-09 13:56:24 -04:00
..
client_server Share postgres instance in compatibility tests (#6504) 2020-06-26 11:18:57 +02:00
create-daml-app Replace yarn with npm (#7222) 2020-09-08 12:07:04 +02:00
daml_ledger Deprecate the "daml 1.2" version header. (#7513) 2020-09-29 13:14:59 +00:00
daml_script Support submitMustFail in DAML Script Service (#7076) 2020-08-12 08:54:34 +00:00
daml_trigger add Action to high-level trigger updateState (#7621) 2020-10-09 13:56:24 -04:00
data_dependencies Validate data-dependencies test DARs (#6320) 2020-06-12 17:21:00 +00:00
test_utils Add a --timeout option to daml ledger commands (#6774) 2020-07-17 16:35:55 +02:00
BUILD Add platform-version field to daml.yaml (#6736) 2020-07-15 16:30:01 +02:00
create_daml_app_test.sh Replace yarn with npm (#7222) 2020-09-08 12:07:04 +02:00
daml_ledger_test.sh Include daml ledger tests in compatibility tests (#5740) 2020-04-27 16:13:16 +00:00
daml_sdk.bzl Add mirrors when fetching ledger-api-test-tool (#7041) 2020-08-06 14:05:17 +02:00
daml.cc.tpl Include puppeteer tests in compat tests (#6018) 2020-05-22 14:02:59 +02:00
sandbox-with-postgres.sh Include sadbonx-classic in compatibility tests (#6399) 2020-06-19 15:55:39 +02:00
testing.bzl update compat versions for 1.6.0-snapshot.20200922.5258.0.cd4a06db (#7473) 2020-09-24 21:11:25 +02:00
versions.bzl Setup compatibility tests for DAML Trigger (#6112) 2020-05-27 12:32:37 +00:00