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.
type
ReadS a = String -> [(a, String)]ghc-internal GHC.Internal.Text.ParserCombinators.ReadP A parser for a type a, represented as a function that takes a String and returns a list of possible parses as (a,String) pairs. Note that this kind of backtracking parser is very inefficient; reading a large structure may be quite slow (cf ReadP).
module GHC.Internal.Text.ParserCombinators.
ReadPrec This library defines parser combinators for precedence parsing.
-
ghc-internal GHC.Internal.Text.ParserCombinators.ReadPrec No documentation available.
type
ReadS a = String -> [(a, String)]ghc-internal GHC.Internal.Text.Read A parser for a type a, represented as a function that takes a String and returns a list of possible parses as (a,String) pairs. Note that this kind of backtracking parser is very inefficient; reading a large structure may be quite slow (cf ReadP).
type
Reader = FunPtr State -> Ptr () -> Ptr CSize -> IO Ptr CCharlua Lua The reader function used by load. Every time it needs another piece of the chunk, lua_load calls the reader, passing along its data parameter. The reader must return a pointer to a block of memory with a new piece of the chunk and set size to the block size. The block must exist until the reader function is called again. To signal the end of the chunk, the reader must return NULL or set size to zero. The reader function may return pieces of any size greater than zero. See lua_Reader.
type
Reader = FunPtr State -> Ptr () -> Ptr CSize -> IO Ptr CCharlua Lua.Types The reader function used by load. Every time it needs another piece of the chunk, lua_load calls the reader, passing along its data parameter. The reader must return a pointer to a block of memory with a new piece of the chunk and set size to the block size. The block must exist until the reader function is called again. To signal the end of the chunk, the reader must return NULL or set size to zero. The reader function may return pieces of any size greater than zero. See lua_Reader.
-
protolude Protolude No documentation available.
-
protolude Protolude No documentation available.
type
Reader r = ReaderT r Identityprotolude Protolude The parameterizable reader monad. Computations are functions of a shared environment. The return function ignores the environment, while m >>= k passes the inherited environment to both subcomputations:
newtype
ReaderT r (m :: Type -> Type) aprotolude Protolude The reader monad transformer, which adds a read-only environment to the given monad. The return function ignores the environment, while m >>= k passes the inherited environment to both subcomputations: