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.
readPrec_to_P :: ReadPrec a -> Int -> ReadP abase-prelude BasePrelude No documentation available.
readPrec_to_S :: ReadPrec a -> Int -> ReadS abase-prelude BasePrelude No documentation available.
readS_to_P :: ReadS a -> ReadP abase-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.
readS_to_Prec :: (Int -> ReadS a) -> ReadPrec abase-prelude BasePrelude No documentation available.
-
base-prelude BasePrelude Return the current value stored in a TVar.
-
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. -
base-prelude BasePrelude equivalent to readsPrec with a precedence of 0.
readsPrec :: Read a => Int -> ReadS abase-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.-
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"]
readStdin :: Read a => Emitter IO abox Box.IO Read from console, throwing away read errors
λ> glueN 2 showStdout (readStdin :: Emitter IO Int) 1 1 hippo 2 2