Skip to content

Commit

Permalink
IsUnitify a signature.
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Z. Yang <[email protected]>
  • Loading branch information
ezyang committed Aug 5, 2016
1 parent d76e559 commit cb56193
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cabal-install/Distribution/Client/InstallPlan.hs
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ preexisting pkgid ipkg plan = plan'

-- | Lookup a package in the plan.
--
lookup :: (HasUnitId ipkg, PackageFixedDeps ipkg,
HasUnitId srcpkg, PackageFixedDeps srcpkg)
lookup :: (IsUnit ipkg, IsUnit srcpkg)
=> GenericInstallPlan ipkg srcpkg
-> UnitId
-> Maybe (GenericPlanPackage ipkg srcpkg)
Expand Down

0 comments on commit cb56193

Please sign in to comment.