Guest User

Untitled

a guest
Apr 26th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. user=> (use 'clojure.template)
  2.  
  3. user=>(macroexpand-1
  4. '(do-template
  5. [fn-name unique-form]
  6. (defn fn-name [x y]
  7. (do
  8. unique-form
  9. (+ x y)))
  10. fn-x (println x)
  11. fn-y (print y))))
  12.  
  13. (do
  14. (defn fn-x [x y]
  15. (do (println x) (+ x y)))
  16. (defn fn-y [x y]
  17. (do (print y) (+ x y))))
Add Comment
Please, Sign In to add comment