Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

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

    base-prelude BasePrelude

    No documentation available.

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

    base-prelude BasePrelude

    No documentation available.

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

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

    base-prelude BasePrelude

    No documentation available.

  5. readTVar :: TVar a -> STM a

    base-prelude BasePrelude

    Return the current value stored in a TVar.

  6. readTVarIO :: TVar a -> IO a

    base-prelude BasePrelude

    Return the current value stored in a TVar. This is equivalent to

    readTVarIO = atomically . readTVar
    
    but works much faster, because it doesn't perform a complete transaction, it just reads the current value of the TVar.

  7. reads :: Read a => ReadS a

    base-prelude BasePrelude

    equivalent to readsPrec with a precedence of 0.

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

    base-prelude BasePrelude

    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.

  9. readE :: forall (m :: Type -> Type) a . (Functor m, Read a) => Emitter m Text -> Emitter m (Either Text a)

    box Box.Emitter

    Read parse Emitter, returning the original text on error

    >>> (toListM . readE) <$|> (qList ["1","2","3","four"]) :: IO [Either Text Int]
    [Right 1,Right 2,Right 3,Left "four"]
    

  10. readStdin :: Read a => Emitter IO a

    box Box.IO

    Read from console, throwing away read errors

    λ> glueN 2 showStdout (readStdin :: Emitter IO Int)
    1
    1
    hippo
    2
    2
    

Page 232 of many | Previous | Next