Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
cabal-install Distribution.Client.Sandbox.PackageEnvironment Read the package environment file.
readCommandFlags :: FilePath -> CommandUI flags -> IO flagscabal-install Distribution.Client.SavedFlags Read command-line arguments, separated by null characters, from a file. Returns the default flags if the file does not exist.
readSavedArgs :: FilePath -> IO (Maybe [String])cabal-install Distribution.Client.SavedFlags No documentation available.
-
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).
-
cabal-install Distribution.Client.TargetSelector No documentation available.
-
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.
readUserConstraint :: String -> Either String UserConstraintcabal-install Distribution.Client.Targets No documentation available.
readUserTarget :: String -> IO (Either UserTargetProblem UserTarget)cabal-install Distribution.Client.Targets No documentation available.
readUserTargets :: Verbosity -> [String] -> IO [UserTarget]cabal-install Distribution.Client.Targets No documentation available.
readMaybe :: Read a => String -> Maybe acabal-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