Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. readTargetSelectors :: [PackageSpecifier (SourcePackage (PackageLocation a))] -> Maybe ComponentKindFilter -> [String] -> IO (Either [TargetSelectorProblem] [TargetSelector])

    cabal-install Distribution.Client.TargetSelector

    Parse a bunch of command line args as TargetSelectors, failing with an error if any are unrecognised. The possible target selectors are based on the available packages (and their locations).

  2. readTargetSelectorsWith :: (Applicative m, Monad m) => DirActions m -> [PackageSpecifier (SourcePackage (PackageLocation a))] -> Maybe ComponentKindFilter -> [String] -> m (Either [TargetSelectorProblem] [TargetSelector])

    cabal-install Distribution.Client.TargetSelector

    No documentation available.

  3. readPackageTarget :: Verbosity -> PackageTarget ResolvedPkgLoc -> IO (PackageTarget UnresolvedSourcePackage)

    cabal-install Distribution.Client.Targets

    Given a package target that has been fetched, read the .cabal file. This only affects targets given by location, named targets are unaffected.

  4. readUserConstraint :: String -> Either String UserConstraint

    cabal-install Distribution.Client.Targets

    No documentation available.

  5. readUserTarget :: String -> IO (Either UserTargetProblem UserTarget)

    cabal-install Distribution.Client.Targets

    No documentation available.

  6. readUserTargets :: Verbosity -> [String] -> IO [UserTarget]

    cabal-install Distribution.Client.Targets

    No documentation available.

  7. readMaybe :: Read a => String -> Maybe a

    cabal-install Distribution.Client.Utils

    Parse a string using the Read instance. Succeeds if there is exactly one valid result.

    >>> readMaybe "123" :: Maybe Int
    Just 123
    
    >>> readMaybe "hello" :: Maybe Int
    Nothing
    

  8. readP_to_E :: (String -> String) -> ReadP a a -> ReadE a

    cabal-install Distribution.Deprecated.ReadP

    No documentation available.

  9. readP_to_S :: ReadP a a -> ReadS a

    cabal-install Distribution.Deprecated.ReadP

    Converts a parser into a Haskell ReadS-style function. This is the main way in which you can "run" a ReadP parser: the expanded type is readP_to_S :: ReadP a -> String -> [(a,String)]

  10. readS_to_P :: ReadS a -> ReadP r a

    cabal-install Distribution.Deprecated.ReadP

    Converts a Haskell ReadS-style function into a parser. Warning: This introduces local backtracking in the resulting parser, and therefore a possible inefficiency.

Page 301 of many | Previous | Next