Created
September 13, 2019 13:30
-
-
Save eraserhd/4152a8774064e97643e931882676f4b6 to your computer and use it in GitHub Desktop.
m/search
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn last-sent-input-tx [eav-map] | |
(m/search eav-map | |
{?lsi {:last-sent-task-input/input [?input] | |
:last-sent-task-input/exec-uuid [?exec-uuid]} | |
?exec {:taskexec/uuid [?exec-uuid] | |
:taskexec/def [?def]} | |
?def {:taskdef/automated [false]}} | |
[:db/add ?lsi :last-sent-task-input/input (fix-input ?input)])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's the macroexpansion of that pattern match with
epsilon
.