Skip to content

Commit cb56193

Browse files
committed
IsUnitify a signature.
Signed-off-by: Edward Z. Yang <[email protected]>
1 parent d76e559 commit cb56193

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cabal-install/Distribution/Client/InstallPlan.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,7 @@ preexisting pkgid ipkg plan = plan'
301301

302302
-- | Lookup a package in the plan.
303303
--
304-
lookup :: (HasUnitId ipkg, PackageFixedDeps ipkg,
305-
HasUnitId srcpkg, PackageFixedDeps srcpkg)
304+
lookup :: (IsUnit ipkg, IsUnit srcpkg)
306305
=> GenericInstallPlan ipkg srcpkg
307306
-> UnitId
308307
-> Maybe (GenericPlanPackage ipkg srcpkg)

0 commit comments

Comments
 (0)