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. coercionToPlatformTypes :: Either (Coercion OsChar WindowsChar, Coercion OsString WindowsString) (Coercion OsChar PosixChar, Coercion OsString PosixString)

    os-string System.OsString.Internal.Types

    This is a type-level evidence that OsChar is a newtype wrapper over WindowsChar or PosixChar and OsString is a newtype wrapper over WindowsString or PosixString. If you pattern match on coercionToPlatformTypes, GHC will know that relevant types are coercible to each other. This helps to avoid CPP in certain scenarios.

  2. natTransformRetryPolicy :: (forall a . () => m a -> n a) -> RetryPolicyM m -> RetryPolicyM n

    retry Control.Retry

    Applies a natural transformation to a policy to run a RetryPolicy meant for the monad m in the monad n provided a transformation from m to n is available. A common case is if you have a pure policy, RetryPolicyM Identity and want to use it to govern an IO computation you could write:

    purePolicyInIO :: RetryPolicyM Identity -> RetryPolicyM IO
    purePolicyInIO = natTransformRetryPolicy (pure . runIdentity)
    

  3. natTransformRetryPolicy :: (forall a . () => m a -> n a) -> RetryPolicyM m -> RetryPolicyM n

    retry UnliftIO.Retry

    Applies a natural transformation to a policy to run a RetryPolicy meant for the monad m in the monad n provided a transformation from m to n is available. A common case is if you have a pure policy, RetryPolicyM Identity and want to use it to govern an IO computation you could write:

    purePolicyInIO :: RetryPolicyM Identity -> RetryPolicyM IO
    purePolicyInIO = natTransformRetryPolicy (pure . runIdentity)
    

  4. CommentBefore :: [String] -> CommentPosition

    Cabal-syntax Distribution.Fields

    No documentation available.

  5. CommentBefore :: [String] -> CommentPosition

    Cabal-syntax Distribution.Fields.Pretty

    No documentation available.

  6. transformAllBuildDepends :: (Dependency -> Dependency) -> GenericPackageDescription -> GenericPackageDescription

    Cabal-syntax Distribution.PackageDescription.Configuration

    Walk a GenericPackageDescription and apply f to all nested build-depends fields.

  7. transformAllBuildDependsN :: ([Dependency] -> [Dependency]) -> GenericPackageDescription -> GenericPackageDescription

    Cabal-syntax Distribution.PackageDescription.Configuration

    Walk a GenericPackageDescription and apply f to all nested build-depends fields.

  8. transformAllBuildInfos :: (BuildInfo -> BuildInfo) -> (SetupBuildInfo -> SetupBuildInfo) -> GenericPackageDescription -> GenericPackageDescription

    Cabal-syntax Distribution.PackageDescription.Configuration

    No documentation available.

  9. PolyForm_Noncommercial_1_0_0 :: LicenseId

    Cabal-syntax Distribution.SPDX

    PolyForm-Noncommercial-1.0.0, PolyForm Noncommercial License 1.0.0, SPDX License List 3.9, SPDX License List 3.10, SPDX License List 3.16, SPDX License List 3.23

  10. PolyForm_Small_Business_1_0_0 :: LicenseId

    Cabal-syntax Distribution.SPDX

    PolyForm-Small-Business-1.0.0, PolyForm Small Business License 1.0.0, SPDX License List 3.9, SPDX License List 3.10, SPDX License List 3.16, SPDX License List 3.23

Page 555 of many | Previous | Next