prune-juice-0.7: Prune unused Haskell dependencies
Safe HaskellNone
LanguageHaskell2010

Data.Prune.ApplyStrategy.Safe

Description

 
Synopsis

Documentation

stripDependencies :: Set DependencyName -> [Dependency] -> [Dependency] Source #

Filter out dependencies.

stripBuildInfo :: Set DependencyName -> BuildInfo -> BuildInfo Source #

Strip dependencies from a single target.

stripLibrary :: Set DependencyName -> Library -> Library Source #

Strip dependencies from a library.

stripExecutable :: Set DependencyName -> Executable -> Executable Source #

Strip dependencies from an executable.

stripTestSuite :: Set DependencyName -> TestSuite -> TestSuite Source #

Strip dependencies from a test suite.

stripBenchmark :: Set DependencyName -> Benchmark -> Benchmark Source #

Strip dependencies from a benchmark.

stripCondTree :: (b -> b) -> CondTree a [Dependency] b -> CondTree a [Dependency] b Source #

Strip dependencies from a single target.

stripCondTrees :: (b -> b) -> CompilableName -> [(UnqualComponentName, CondTree a [Dependency] b)] -> [(UnqualComponentName, CondTree a [Dependency] b)] Source #

Strip dependencies from multiple targets.