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

Backport to GHC7.8 #49

Merged
merged 1 commit into from Feb 1, 2016
Merged

Backport to GHC7.8 #49

merged 1 commit into from Feb 1, 2016

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Jan 31, 2016

No description provided.


deriving instance Eq (SwaggerItems t)
deriving instance Show (SwaggerItems t)
deriving instance Typeable (SwaggerItems t)
--deriving instance Typeable (SwaggerItems t)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be removed? Should Eq and Show be moved into the same deriving clause with Typeable?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They cannot:

    Can't make a derived instance of ‘Eq (SwaggerItems t)’:
      Constructor ‘SwaggerItemsObject’ has existentials or constraints in its type
      Constructor ‘SwaggerItemsArray’ has existentials or constraints in its type
      Possible fix: use a standalone deriving declaration instead

@fizruk
Copy link
Member

fizruk commented Feb 1, 2016

Apart from that little comment, this looks good! Thanks a lot for your work on this!

fizruk added a commit that referenced this pull request Feb 1, 2016
@fizruk fizruk merged commit 0a0c494 into GetShopTV:master Feb 1, 2016
@phadej phadej deleted the ghc-7.8 branch February 1, 2016 11:39
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

2 participants