(ns useful.amalloy.debug)

(defmacro ?
  "A useful debugging tool when you can't figure out what's going on:
  wrap a form with and-print, and the form will be printed alongside
  its result. The result will still be passed along."
  [val]
  `(let [x# ~val]
     (prn '~val '~'is x#)
     x#))

(ns useful.amalloy.debug)

(defmacro ?
  "A useful debugging tool when you can't figure out what's going on:
  wrap a form with ?, and the form will be printed alongside
  its result. The result will still be passed along."
  [val]
  `(let [x# ~val]
     (prn '~val '~'is x#)
     x#))

Fix that damn docstring AGAIN
Fix that damn docstring AGAIN

amalloy/useful,flatland/useful,jafingerhut/useful