Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defmacro tile [& body]
- '(tile-validate (apply hash-map ~body)))
- ;; use
- ;;
- ;; (tile :active 0 :name "floor" :passable true)
- ;;
- ;; error:
- ;; 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