Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

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

    base-prelude BasePrelude

    No documentation available.

  2. readTVar :: TVar a -> STM a

    base-prelude BasePrelude

    Return the current value stored in a TVar.

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

  4. reads :: Read a => ReadS a

    base-prelude BasePrelude

    equivalent to readsPrec with a precedence of 0.

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

  6. 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"]
    

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

  8. readAsInt :: Text -> Maybe Int

    citeproc Citeproc.Types

    No documentation available.

  9. readForTicket :: MonadDejaFu n => ModelIORef n a -> ThreadId -> n (ModelTicket a)

    dejafu Test.DejaFu.Conc.Internal.Memory

    Read from a IORef, returning a Ticket representing the current view of the thread.

  10. readFromMVar :: (MonadDejaFu n, HasCallStack) => ModelMVar n a -> (a -> Action n) -> ThreadId -> Threads n -> n (Bool, Threads n, [ThreadId], n ())

    dejafu Test.DejaFu.Conc.Internal.Memory

    Read from a MVar, blocking if empty.

Page 234 of many | Previous | Next