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.
-
cabal-install-solver Distribution.Solver.Compat.Prelude readMaybe :: Read a => String -> Maybe acabal-install-solver Distribution.Solver.Compat.Prelude 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
readParen :: Bool -> ReadS a -> ReadS acabal-install-solver Distribution.Solver.Compat.Prelude readParen True p parses what p parses, but surrounded with parentheses. readParen False p parses what p parses, but optionally surrounded with parentheses.
-
cabal-install-solver Distribution.Solver.Compat.Prelude equivalent to readsPrec with a precedence of 0.
readsPrec :: Read a => Int -> ReadS acabal-install-solver Distribution.Solver.Compat.Prelude attempts to parse a value from the front of the string, returning a list of (parsed value, remaining string) pairs. If there is no successful parse, the returned list is empty. Derived instances of Read and Show satisfy the following:
That is, readsPrec parses the string produced by showsPrec, and delivers the value that showsPrec started with.readPkgConfigDb :: Verbosity -> ProgramDb -> IO PkgConfigDbcabal-install-solver Distribution.Solver.Types.PkgConfigDb Query pkg-config for the list of installed packages, together with their versions. Return a PkgConfigDb encapsulating this information.
readCookie :: (Read a, MonadCGI m) => String -> m (Maybe a)cgi Network.CGI Same as getCookie, but tries to read the value to the desired type.
readInput :: (Read a, MonadCGI m) => String -> m (Maybe a)cgi Network.CGI Same as getInput, but tries to read the value to the desired type.
readCookies :: String -> [(String, String)]cgi Network.CGI.Cookie Gets all the cookies from a Cookie: header value
readOnly :: forall (scope :: Scope) a . (ChanScoped c, Readable scope) => c scope a -> c 'Read achan Control.Concurrent.Chan.Extra No documentation available.