Skip to content

Keep wildcard if present in IEThingWith#337

Merged
jaspervdj merged 1 commit into
haskell:mainfrom
akrmn:export-bundled-patterns
Oct 31, 2020
Merged

Keep wildcard if present in IEThingWith#337
jaspervdj merged 1 commit into
haskell:mainfrom
akrmn:export-bundled-patterns

Conversation

@akrmn

@akrmn akrmn commented Oct 30, 2020

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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