Commit 62d3a032 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Remove the silly failing resolver demo

parent 93396185
...@@ -92,12 +92,6 @@ dependencyResolver resolver os arch comp installed available deps = ...@@ -92,12 +92,6 @@ dependencyResolver resolver os arch comp installed available deps =
: "The proposed (invalid) plan contained the following problems:" : "The proposed (invalid) plan contained the following problems:"
: map InstallPlan.showPlanProblem problems : map InstallPlan.showPlanProblem problems
-- | This is an example resolver that says that every package failed.
--
failingResolver :: DependencyResolver a
failingResolver _ _ _ _ _ deps = Left
[ dep | UnresolvedDependency dep _ <- deps ]
-- | Given the list of installed packages and available packages, figure -- | Given the list of installed packages and available packages, figure
-- out which packages can be upgraded. -- out which packages can be upgraded.
-- --
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment