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

Remove functor instance from Dep #3167

Merged
merged 1 commit into from
Mar 3, 2016
Merged

Remove functor instance from Dep #3167

merged 1 commit into from
Mar 3, 2016

Conversation

edsko
Copy link
Contributor

@edsko edsko commented Feb 19, 2016

and fix bug in qualifyDeps. See comments in code for motivation/justification. This is part of the investigation into #3160 .

Requesting review by @kosmikus .

@@ -189,10 +189,15 @@ type FalseFlaggedDeps qpn = FlaggedDeps Component qpn

-- | A dependency (constraint) associates a package name with a
-- constrained instance.
--
-- 'Dep' intentionally has no 'Functor' instance because the type variable
-- is used both to the record the dependencies as well as who's doing the
Copy link
Member

Choose a reason for hiding this comment

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

s/to the record/to record/

and fix bug in qualityDeps
@edsko
Copy link
Contributor Author

edsko commented Feb 19, 2016

Typo fixed.

@23Skidoo 23Skidoo added this to the cabal-install 1.24 milestone Mar 1, 2016
@kosmikus kosmikus merged commit 927ec76 into haskell:master Mar 3, 2016
@edsko edsko deleted the pr/RemoveDepFunctorInstance branch March 9, 2016 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants