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. readLn :: Read a => IO a

    cabal-install-solver Distribution.Solver.Compat.Prelude

    The readLn function combines getLine and readIO.

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

    cabal-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
    

  3. readParen :: Bool -> ReadS a -> ReadS a

    cabal-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.

  4. reads :: Read a => ReadS a

    cabal-install-solver Distribution.Solver.Compat.Prelude

    equivalent to readsPrec with a precedence of 0.

  5. readsPrec :: Read a => Int -> ReadS a

    cabal-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.

  6. readPkgConfigDb :: Verbosity -> ProgramDb -> IO PkgConfigDb

    cabal-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.

  7. 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.

  8. 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.

  9. readCookies :: String -> [(String, String)]

    cgi Network.CGI.Cookie

    Gets all the cookies from a Cookie: header value

  10. readOnly :: forall (scope :: Scope) a . (ChanScoped c, Readable scope) => c scope a -> c 'Read a

    chan Control.Concurrent.Chan.Extra

    No documentation available.

Page 244 of many | Previous | Next