mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 07:23:18 -09:00
improve logs
This commit is contained in:
parent
cd953cb46c
commit
4446d015d9
@ -65,7 +65,8 @@
|
||||
(defmacro log [& body]
|
||||
(let [exprs# (map (fn [e#]
|
||||
`(let [e-res# ~e#]
|
||||
(println e-res# "\t\texpr:" '~e#)
|
||||
(println "expr:" '~e#)
|
||||
(println "result: " e-res#)
|
||||
e-res#)) body)]
|
||||
`(do ~@exprs#
|
||||
nil)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user