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

Add Hashable instance for Options SVG R2 #45

Merged
merged 4 commits into from
Jan 24, 2014
Merged

Add Hashable instance for Options SVG R2 #45

merged 4 commits into from
Jan 24, 2014

Conversation

byorgey
Copy link
Member

@byorgey byorgey commented Jan 23, 2014

Depends on diagrams/diagrams-lib#146.

This pull request:

  • Adds a dependency on hashable > 1.1 (part of the HP)
  • Adds a direct dependency on blaze-markup (was already an transitive dependency via blaze-svg)
  • Adds a dependency on the DeriveGeneric extension (since GHC 7.2)
  • Adds a Hashable instance for Options SVG R2; needed for some pending changes/reorganization to diagrams-builder.

Note that there is also an orphan Hashable instance for MarkupM from blaze-markup. Perhaps we could submit it upstream to blaze-markup, but that would mean adding a hashable dependency.

Note also the upper bound on blaze-markup is too restrictive; we can loosen it in a separate commit (assuming it works fine).

Brent Yorgey added 4 commits November 28, 2013 13:45
unfortunately we also have to add some orphan Hashable instances for
blaze-markup types.  We could contribute them back upstream to
blaze-markup, but that would require adding a hashable constraint.
byorgey added a commit that referenced this pull request Jan 24, 2014
Add Hashable instance for Options SVG R2
@byorgey byorgey merged commit 0d8c8d1 into master Jan 24, 2014
@byorgey byorgey deleted the builder-cleanup branch January 24, 2014 00:52
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.

1 participant