Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printer Dispatch Overhaul #24

Merged
merged 26 commits into from
Oct 13, 2015
Merged

Printer Dispatch Overhaul #24

merged 26 commits into from
Oct 13, 2015

Conversation

greglook
Copy link
Owner

@brandonbloom @gfredericks

Thoughts on these changes? This upgrades to Clojure 1.7 and the new fipp visitor pattern. The IVisitor protocol replaces much of what used to be the format-doc multimethod, and the remaining special-cases are handled using an explicit dispatch mechanism for finding handlers. This removes the need for the puget.data code and import-time modifications to the global protocol/multimethod tables.

I also extracted the puget.order code into a separate micro-lib named mvxcvi/arrangement.

Addresses issues #21, #23, and indirectly #22.

@brandonbloom
Copy link
Contributor

This all seems reasonably sane to me, but I haven't studied the code super closely.

Thanks for taking on this work!

@gfredericks
Copy link

reading the new docs and glancing at the code, it seems like it should be sufficient for #23. 👍

greglook added a commit that referenced this pull request Oct 13, 2015
@greglook greglook merged commit 0211aaa into develop Oct 13, 2015
@greglook
Copy link
Owner Author

Thanks for looking it over guys!

@greglook greglook deleted the clojure17 branch October 13, 2015 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants