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.

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

    prelude-compat Prelude2010

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

  2. reads :: Read a => ReadS a

    prelude-compat Prelude2010

    equivalent to readsPrec with a precedence of 0.

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

    prelude-compat Prelude2010

    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.

  4. readPrec :: (Vector v a, Read a) => ReadPrec (v a)

    rebase Rebase.Data.Vector.Generic

    No documentation available.

  5. readMaybe :: (PrimMonad m, MVector v a) => v (PrimState m) a -> Int -> m (Maybe a)

    rebase Rebase.Data.Vector.Generic.Mutable

    No documentation available.

  6. readMaybe :: PrimMonad m => MVector (PrimState m) a -> Int -> m (Maybe a)

    rebase Rebase.Data.Vector.Mutable

    No documentation available.

  7. readMaybe :: (PrimMonad m, Prim a) => MVector (PrimState m) a -> Int -> m (Maybe a)

    rebase Rebase.Data.Vector.Primitive.Mutable

    No documentation available.

  8. readMaybe :: (PrimMonad m, Storable a) => MVector (PrimState m) a -> Int -> m (Maybe a)

    rebase Rebase.Data.Vector.Storable.Mutable

    No documentation available.

  9. readMaybe :: (PrimMonad m, Unbox a) => MVector (PrimState m) a -> Int -> m (Maybe a)

    rebase Rebase.Data.Vector.Unboxed.Mutable

    No documentation available.

  10. readEither :: Read a => String -> Either String a

    rebase Rebase.Prelude

    Parse a string using the Read instance. Succeeds if there is exactly one valid result. A Left value indicates a parse error.

    >>> readEither "123" :: Either String Int
    Right 123
    
    >>> readEither "hello" :: Either String Int
    Left "Prelude.read: no parse"
    

Page 226 of many | Previous | Next