Created
October 17, 2010 08:26
-
-
Save amalloy/630662 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
user> (defn ask-mathematica [var-name] | |
`(* ~var-name 10)) | |
#'user/ask-mathematica | |
user> (defmacro solve-pde [var1 var2] | |
`(+ ~var2 ~(ask-mathematica var1))) | |
#'user/solve-pde | |
user> (let [x 1 y 5] (solve-pde x y)) | |
15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment