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.
readDeclaration :: MonadIO m => FilePath -> LineNo -> m (Maybe (String, Pos String))hedgehog Hedgehog.Internal.Discovery No documentation available.
readProperties :: MonadIO m => String -> FilePath -> m (Map PropertyName PropertySource)hedgehog Hedgehog.Internal.Discovery No documentation available.
readFile :: FilePath -> IO Stringhedgehog Hedgehog.Internal.Prelude The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readIO :: Read a => String -> IO ahedgehog Hedgehog.Internal.Prelude The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.
readList :: Read a => ReadS [a]hedgehog Hedgehog.Internal.Prelude The method readList is provided to allow the programmer to give a specialised way of parsing lists of values. For example, this is used by the predefined Read instance of the Char type, where values of type String are expected to use double quotes, rather than square brackets.
-
hedgehog Hedgehog.Internal.Prelude readParen :: Bool -> ReadS a -> ReadS ahedgehog Hedgehog.Internal.Prelude readParen True p parses what p parses, but surrounded with parentheses. readParen False p parses what p parses, but optionally surrounded with parentheses.
-
hedgehog Hedgehog.Internal.Prelude equivalent to readsPrec with a precedence of 0.
readsPrec :: Read a => Int -> ReadS ahedgehog Hedgehog.Internal.Prelude 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.readSendFile :: Buffer -> BufSize -> (ByteString -> IO ()) -> SendFilewarp Network.Wai.Handler.Warp.Internal Function to send a file based on pread()/send() for Unix. This makes use of the file descriptor cache. For Windows, this is emulated by Handle. Since: 3.1.0