kr/pretty — pull request #13 by cee-dub (2014-08-04 18:27:32+00:00)
Title: Detect cyclic references to prevent infinite recursion

Alternate implementation to #12. Uses fields on the printer type to track recursion depth and visited pointers.

If you think this is cleaner and you're happy with it, I'll squash to 1 commit.