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.
readFile :: FilePath -> IO Stringghc-lib-parser GHC.Prelude.Basic 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 aghc-lib-parser GHC.Prelude.Basic 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]ghc-lib-parser GHC.Prelude.Basic 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.
-
ghc-lib-parser GHC.Prelude.Basic readParen :: Bool -> ReadS a -> ReadS aghc-lib-parser GHC.Prelude.Basic readParen True p parses what p parses, but surrounded with parentheses. readParen False p parses what p parses, but optionally surrounded with parentheses.
-
ghc-lib-parser GHC.Prelude.Basic equivalent to readsPrec with a precedence of 0.
readsPrec :: Read a => Int -> ReadS aghc-lib-parser GHC.Prelude.Basic 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.readRawSetting :: (Show a, Read a) => FilePath -> RawSettings -> String -> Either String aghc-lib-parser GHC.Settings.Utils No documentation available.
readJSObject :: FilePath -> IO (JSOptions, ByteString)ghc-lib-parser GHC.StgToJS.Object Read a JS object from file
readObject :: FilePath -> IO (Maybe Object)ghc-lib-parser GHC.StgToJS.Object Read object from file The object is still in memory after this (see objHandle).