mentat/tx
Nick Alexander 32ed56685e (tx) Replace :db/tx with (transaction-tx) transaction function and broaden support. (#664)
:db/tx (and Datomic's version, :datomic/tx) suffer from the same
ambiguities that [a v] lookup references do -- determining the type of
the result is context sensitive.  (In this case, is :db/tx a reference
to the current transaction ID, or is it a valid keyword?)  This commit
addresses the ambiguity by introducing a notion of a transaction
functions, and provides a little scaffolding for adding more (should
the need arise).  I left the scaffolding in place rather than handling
just (transaction-tx) because I started trying to
implement (transaction-instant) as well, which is more difficult --
see the comments.

It's worth noting that this approach generalizes more or less directly
to ?input variables, since those can be eagerly bound like the
implemented transaction function (transaction-tx).
2018-04-26 19:32:14 -07:00
..
src (tx) Replace :db/tx with (transaction-tx) transaction function and broaden support. (#664) 2018-04-26 19:32:14 -07:00
Cargo.toml Mark every project as being part of the workspace. r=nalexander 2017-02-20 11:04:08 -08:00
README.md Automatically remove trailing whitespace from text files. (#527) r=rnewman 2018-01-19 21:21:04 -06:00

This sub-crate implements the core types used by the transaction processor.