Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readIO :: Read a => String -> IO acabal-install-solver Distribution.Solver.Compat.Prelude The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.
readList :: Read a => ReadS [a]cabal-install-solver Distribution.Solver.Compat.Prelude The method readList is provided to allow the programmer to give a specialised way of parsing lists of values. For example, this is used by the predefined Read instance of the Char type, where values of type String are expected to use double quotes, rather than square brackets.
-
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.