Skip to content

Commit

Permalink
Add doc to canonize-dispatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
greglook committed Jan 19, 2015
1 parent f65a9e7 commit 878ca11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/puget/printer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@
;; ## Canonize Multimethod

(defn- canonize-dispatch
"Dispatches the method to use for value formatting. Values which use
extended notation are rendered as tagged values; others are dispatched on
their `type`."
[value]
(if (satisfies? data/ExtendedNotation value)
::tagged-value
Expand Down

0 comments on commit 878ca11

Please sign in to comment.