Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data ResolvedPackage Source #
Instances
tryPackageByDir :: PackagesConfig -> Path Rel Dir -> Maybe PackageConfig Source #
packageByDir :: PackagesConfig -> Path Rel Dir -> M PackageConfig Source #
packageForSpec :: Path Abs Dir -> PackagesConfig -> PackageSpec -> M PackageConfig Source #
packageForSpecOrDefault :: Path Abs Dir -> PackagesConfig -> Maybe PackageSpec -> M ResolvedPackage Source #
matchComponent :: ComponentConfig -> ComponentSpec -> Bool Source #
componentError :: PackageName -> ComponentSpec -> Text Source #
targetForComponent :: Path Abs Dir -> PackagesConfig -> ComponentCoords -> M TargetOrDefault Source #
targetComponentIn :: Path Abs Dir -> PackagesConfig -> TargetSpec -> M TargetOrDefault Source #
targetComponent :: Maybe (Path Abs Dir) -> PackagesConfig -> TargetSpec -> M TargetOrDefault Source #
targetComponentOrError :: Maybe (Path Abs Dir) -> PackagesConfig -> TargetSpec -> M Target Source #