Skip to content

Add instance names #69

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

Conversation

pete-murphy
Copy link
Contributor

@pete-murphy pete-murphy commented Feb 9, 2022

Prerequisites

  • Before opening a pull request, please check the HTML standard (https://dom.spec.whatwg.org/). If it doesn't appear in this spec, it may be present in the spec for one of the other purescript-web projects. Although MDN is a great resource, it is not a suitable reference for this project.

Description of the change

Fixes #68. Adds missing type class instance names for DataTransferItemKind.


Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

@pete-murphy pete-murphy force-pushed the pm/68/fix-unnamed-instances branch from 198554c to cdabe76 Compare February 9, 2022 20:14
@pete-murphy pete-murphy marked this pull request as ready for review February 9, 2022 20:15
Comment on lines 11 to +12
Bugfixes:
- Added missing type class instance names for `DataTransferItemKind` (#69 by @ptrfrncsmrph)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seemed like Bugfixes was the most appropriate category, let me know if I should move it somewhere else

Comment on lines +21 to +24
derive instance eqDataTransferItemKind :: Eq DataTransferItemKind
derive instance ordDataTransferItemKind :: Ord DataTransferItemKind

instance Show DataTransferItemKind where
instance showDataTransferItemKind :: Show DataTransferItemKind where
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tested this locally by:

  • installing PureScript npm i [email protected] & Spago npm i spago
  • confirming npx run spago build failed
  • adding these changes
  • confirming npx run spago build succeeded

@thomashoneyman thomashoneyman merged commit 54e3cab into purescript-web:master Feb 9, 2022
@thomashoneyman
Copy link
Contributor

@pete-murphy pete-murphy deleted the pm/68/fix-unnamed-instances branch February 9, 2022 20:36
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.

Breaking change introduced
2 participants