Proper spy
This commit is contained in:
parent
37805317a4
commit
2aeda5c833
@ -1,4 +1,10 @@
|
||||
(ns util)
|
||||
(ns util
|
||||
(:require
|
||||
[clojure.pprint :as pprint]))
|
||||
|
||||
(defn spy
|
||||
([x] (pprint/pprint x) x)
|
||||
([tag x] (pprint/pprint [tag x]) x))
|
||||
|
||||
(defmacro do-grid [[r rows c cols] & body]
|
||||
`(dotimes [~r ~rows]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user