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.

  1. readFile :: MonadIO m => FilePath -> m Text

    basic-prelude BasicPrelude

    Read a file and return the contents of the file as Text. The entire file is read strictly.

  2. readIO :: (MonadIO m, Read a) => Text -> m a

    basic-prelude BasicPrelude

    The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.

  3. readList :: Read a => ReadS [a]

    basic-prelude BasicPrelude

    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.

  4. readLn :: (MonadIO m, Read a) => m a

    basic-prelude BasicPrelude

    The readLn function combines getLine and readIO.

  5. readMay :: Read a => Text -> Maybe a

    basic-prelude BasicPrelude

    No documentation available.

  6. readParen :: Bool -> ReadS a -> ReadS a

    basic-prelude BasicPrelude

    readParen True p parses what p parses, but surrounded with parentheses. readParen False p parses what p parses, but optionally surrounded with parentheses.

  7. reads :: Read a => ReadS a

    basic-prelude BasicPrelude

    equivalent to readsPrec with a precedence of 0.

  8. readsPrec :: Read a => Int -> ReadS a

    basic-prelude BasicPrelude

    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.

  9. readBChan :: BChan a -> IO a

    brick Brick.BChan

    Reads the next value from the BChan; blocks if necessary.

  10. readBChan2 :: BChan a -> BChan b -> IO (Either a b)

    brick Brick.BChan

    Reads the next value from either BChan, prioritizing the first BChan; blocks if necessary.

Page 208 of many | Previous | Next