Skip to content

Keep wildcard if present in IEThingWith #337

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

Merged
merged 1 commit into from
Oct 31, 2020

Conversation

akrmn
Copy link
Contributor

@akrmn akrmn commented Oct 30, 2020

This is necessary to export pattern synonyms bundled with a type. I went with moving the ellipsis to the beginning of the IEThingWith list, to match the style from the GHC User's guide, though this could become a setting if there's interest for e.g. moving it to the end.

See https://downloads.haskell.org/ghc/latest/docs/html/users_guide/glasgow_exts.html#import-and-export-of-pattern-synonyms

This is necessary to export pattern synonyms bundled with a type
@jaspervdj jaspervdj merged commit 4ec5c50 into haskell:main Oct 31, 2020
@jaspervdj
Copy link
Member

Thanks a lot!

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.

2 participants