Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
platformIndependent :: PreProcessor -> BoolCabal Distribution.Simple.PreProcess.Types No documentation available.
configCoverageFor :: ConfigFlags -> Flag [UnitId]Cabal Distribution.Simple.Setup The list of libraries to be included in the hpc coverage report for testsuites run with --enable-coverage. Notably, this list must exclude indefinite libraries and instantiations because HPC does not support backpack (Nov. 2023).
haddockForHackage :: HaddockFlags -> Flag HaddockTargetCabal Distribution.Simple.Setup No documentation available.
haddockForeignLibs :: HaddockFlags -> Flag BoolCabal Distribution.Simple.Setup No documentation available.
haddockProjectForeignLibs :: HaddockProjectFlags -> Flag BoolCabal Distribution.Simple.Setup No documentation available.
hscolourForeignLibs :: HscolourFlags -> Flag BoolCabal Distribution.Simple.Setup No documentation available.
platform :: PackageLog -> PlatformCabal Distribution.Simple.Test.Log No documentation available.
isAbsoluteOnAnyPlatform :: FilePath -> BoolCabal Distribution.Simple.Utils isAbsoluteOnAnyPlatform and isRelativeOnAnyPlatform are like isAbsolute and isRelative but have platform independent heuristics. The System.FilePath exists in two versions, Windows and Posix. The two versions don't agree on what is a relative path and we don't know if we're given Windows or Posix paths. This results in false positives when running on Posix and inspecting Windows paths, like the hackage server does. System.FilePath.Posix.isAbsolute "C:\hello" == False System.FilePath.Windows.isAbsolute "/hello" == False This means that we would treat paths that start with "/" to be absolute. On Posix they are indeed absolute, while on Windows they are not. The portable versions should be used when we might deal with paths that are from another OS than the host OS. For example, the Hackage Server deals with both Windows and Posix paths while performing the PackageDescription checks. In contrast, when we run 'cabal configure' we do expect the paths to be correct for our OS and we should not have to use the platform independent heuristics.
isRelativeOnAnyPlatform :: FilePath -> BoolCabal Distribution.Simple.Utils isRelativeOnAnyPlatform = not . isAbsoluteOnAnyPlatform
extraCoverageFor :: PackageBuildDescr -> [UnitId]Cabal Distribution.Types.LocalBuildConfig For per-package builds-only: an extra list of libraries to be included in the hpc coverage report for testsuites run with --enable-coverage. Notably, this list must exclude indefinite libraries and instantiations because HPC does not support backpack (Nov. 2023).