Permalink
Browse files

Recovered a lost function. Working at the repl made me not notice.

  • Loading branch information...
1 parent 4822d47 commit fd8239529cdf7b79b7ff76631931d953022e3934 @tomfaulhaber committed Jan 7, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/slam/hound/prettify.clj
@@ -4,6 +4,13 @@
pprint-logical-block pprint-newline formatter-out
write-out]]))
+(defn- brackets
+ "Figure out which kind of brackets to use"
+ [form]
+ (if (vector? form)
+ ["[" "]"]
+ ["(" ")"]))
+
(defn- pprint-ns-reference
"Pretty print a single reference (import, use, etc.) from a namespace decl"
[reference]

0 comments on commit fd82395

Please sign in to comment.