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.

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

    base-prelude BasePrelude

    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
    

  2. readP_to_Prec :: (Int -> ReadP a) -> ReadPrec a

    base-prelude BasePrelude

    No documentation available.

  3. readP_to_S :: ReadP a -> ReadS a

    base-prelude BasePrelude

    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)]

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

    base-prelude BasePrelude

    readParen True p parses what p parses, but surrounded with parentheses. readParen False p parses what p parses, but optionally surrounded with parentheses.

  5. readPrec :: Read a => ReadPrec a

    base-prelude BasePrelude

    Proposed replacement for readsPrec using new-style parsers (GHC only).

  6. readPrec_to_P :: ReadPrec a -> Int -> ReadP a

    base-prelude BasePrelude

    No documentation available.

  7. readPrec_to_S :: ReadPrec a -> Int -> ReadS a

    base-prelude BasePrelude

    No documentation available.

  8. readS_to_P :: ReadS a -> ReadP a

    base-prelude BasePrelude

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

  9. readS_to_Prec :: (Int -> ReadS a) -> ReadPrec a

    base-prelude BasePrelude

    No documentation available.

  10. readTVar :: TVar a -> STM a

    base-prelude BasePrelude

    Return the current value stored in a TVar.

Page 233 of many | Previous | Next