REF remove dead code

This commit is contained in:
Nathan Dwarshuis 2021-11-11 00:15:06 -05:00
parent 3c6dafe8bd
commit 802de6965e
1 changed files with 0 additions and 4 deletions

View File

@ -19,7 +19,6 @@ module XMonad.Internal.Dependency
, pathW
, pathRW
, checkInstalled
, createInstalled
, runIfInstalled
, depInstalled
, warnMissing
@ -243,9 +242,6 @@ checkInstalled = fmap go . filterMissing
where
go = join (***) (fmap depData) . partition depRequired
createInstalled :: [DependencyData] -> [DependencyData] -> a -> MaybeExe a
createInstalled req opt x = if null req then Installed x opt else Missing req opt
filterMissing :: [Dependency a] -> IO [Dependency a]
filterMissing = filterM (fmap not . depInstalled . depData)