Created
January 22, 2017 18:35
-
-
Save deque-blog/81c394c55db05cc47e9676febe3befec to your computer and use it in GitHub Desktop.
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
(print-expr expr) | |
=> "(+ 1 2 (* 0 x y) (* 1 y 2) (+ 0 x))" | |
(print-expr (partial-eval {"y" 0} expr)) | |
=> "(+ 3 x)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment