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

Refactor FieldGrammar / Described #6791

Merged
merged 3 commits into from
May 13, 2020
Merged

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented May 12, 2020

TL;DR this moves Described to tests out of library/executable.

phadej added 2 commits May 13, 2020 00:38
This makes type-signatures awful, but using _ one can infer them.
Parsing performance doesn't seem to be affected.

Also move Newtypes to Distribution.FieldGrammar.Newtypes as that is
more correct place.
@phadej phadej force-pushed the describe-refactor-b branch 2 times, most recently from e9afb92 to ff85fe5 Compare May 13, 2020 08:05
Move Described functionality there, out of Cabal the library.
Similarly cabal-install doesn't contain Described instances,
they are only in tests.
@phadej phadej force-pushed the describe-refactor-b branch from ff85fe5 to f7ee3c1 Compare May 13, 2020 09:30
@phadej phadej merged commit dbb2d0e into haskell:master May 13, 2020
@phadej phadej deleted the describe-refactor-b branch May 13, 2020 11:14
@phadej phadej added this to the 3.4.0.0-rc1 milestone Jul 10, 2020
@phadej phadej mentioned this pull request Jul 10, 2020
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