Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. hasForeignLibs :: PackageDescription -> Bool

    Cabal-syntax Distribution.Types.PackageDescription

    Does this package have any foreign libraries?

  2. withForeignLib :: PackageDescription -> (ForeignLib -> IO ()) -> IO ()

    Cabal-syntax Distribution.Types.PackageDescription

    Perform the action on each buildable ForeignLib in the package description.

  3. isAbsoluteOnAnyPlatform :: FilePath -> Bool

    Cabal-syntax Distribution.Utils.Generic

    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.

  4. isRelativeOnAnyPlatform :: FilePath -> Bool

    Cabal-syntax Distribution.Utils.Generic

    isRelativeOnAnyPlatform = not . isAbsoluteOnAnyPlatform
    

  5. transformCaret :: VersionRange -> VersionRange

    Cabal-syntax Distribution.Version

    Rewrite ^>= x.y.z into >= x.y.z && < x.(y+1)

  6. transformCaretLower :: VersionRange -> VersionRange

    Cabal-syntax Distribution.Version

    Rewrite ^>= x.y.z into <x.(y+1)

  7. transformCaretUpper :: VersionRange -> VersionRange

    Cabal-syntax Distribution.Version

    Rewrite ^>= x.y.z into >= x.y.z

  8. ExplicitForAll :: KnownExtension

    Cabal-syntax Language.Haskell.Extension

    Make forall a keyword in types, which can be used to give the generalisation explicitly.

  9. GHCForeignImportPrim :: KnownExtension

    Cabal-syntax Language.Haskell.Extension

    Allow GHC primops, written in C--, to be imported into a Haskell file.

  10. TransformListComp :: KnownExtension

    Cabal-syntax Language.Haskell.Extension

    Enable generalized list comprehensions, supporting operations such as sorting and grouping.

Page 557 of many | Previous | Next