-
-
Save patham9/27adf9b587e0f2e75cfec909c71f9c1d to your computer and use it in GitHub Desktop.
This file contains 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
(defmethod precondition-transformation :substitute-from-list | |
[[_ el1 el2] conclusion] | |
`(mapv (fn [k#] | |
(if (= k# ~el1) | |
k# | |
(walk k# (= :el ~el1) ~el2))) | |
~conclusion)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment