Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defmacro tile [& body]
  2.   '(tile-validate (apply hash-map ~body)))
  3.  
  4. ;; use
  5. ;;
  6. ;; (tile :active 0 :name "floor" :passable true)
  7. ;;
  8. ;; error:
  9. ;; CompilerException java.lang.RuntimeException: Unable to resolve symbol: body in this context, compiling:(/private/var/folders/p2/1wljd3nn0k12ply6byr02dt80000gn/T/form-init1873305090635872031.clj:96:19)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement