We're updating the issue view to help you get more done. 

clojure.pprint/code-dispatch breaks on certain types of anonymous functions

Description

1 2 3 (with-out-str (with-pprint-dispatch code-dispatch (pp/pprint (read-string "(fn* [x] x)"))))

breaks because the format string here: https://github.com/clojure/clojure/blob/master/src/clj/clojure/pprint/dispatch.clj#L378 expects a sequence. In the case of (fn* [x] x) it is passed a symbol.

Environment

None

Status

Assignee

Unassigned

Reporter

Devin Walters

Labels

Approval

None

Patch

None

Affects versions

Release 1.5

Priority

Minor