Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readConstr :: DataType -> String -> Maybe Constr

    base Data.Data

    Lookup a constructor via a string

  2. readBinaryWith :: ReadPrec a -> ReadPrec b -> String -> (a -> b -> t) -> ReadPrec t

    base Data.Functor.Classes

    readBinaryWith rp1 rp2 n c' matches the name of a binary data constructor and then parses its arguments using rp1 and rp2 respectively.

  3. readData :: ReadPrec a -> ReadPrec a

    base Data.Functor.Classes

    readData p is a parser for datatypes where each alternative begins with a data constructor. It parses the constructor and passes it to p. Parsers for various constructors can be constructed with readUnaryWith and readBinaryWith, and combined with (<|>) from the Alternative class.

  4. readPrec1 :: (Read1 f, Read a) => ReadPrec (f a)

    base Data.Functor.Classes

    Lift the standard readPrec and readListPrec functions through the type constructor.

  5. readPrec2 :: (Read2 f, Read a, Read b) => ReadPrec (f a b)

    base Data.Functor.Classes

    Lift the standard readPrec function through the type constructor.

  6. readUnaryWith :: ReadPrec a -> String -> (a -> t) -> ReadPrec t

    base Data.Functor.Classes

    readUnaryWith rp n c' matches the name of a unary data constructor and then parses its argument using rp.

  7. readsBinary1 :: (Read1 f, Read1 g, Read a) => String -> (f a -> g a -> t) -> String -> ReadS t

    base Data.Functor.Classes

    Deprecated: Use readsBinaryWith to define liftReadsPrec

  8. readsBinaryWith :: (Int -> ReadS a) -> (Int -> ReadS b) -> String -> (a -> b -> t) -> String -> ReadS t

    base Data.Functor.Classes

    readsBinaryWith rp1 rp2 n c n' matches the name of a binary data constructor and then parses its arguments using rp1 and rp2 respectively.

  9. readsData :: (String -> ReadS a) -> Int -> ReadS a

    base Data.Functor.Classes

    readsData p d is a parser for datatypes where each alternative begins with a data constructor. It parses the constructor and passes it to p. Parsers for various constructors can be constructed with readsUnary, readsUnary1 and readsBinary1, and combined with mappend from the Monoid class.

  10. readsPrec1 :: (Read1 f, Read a) => Int -> ReadS (f a)

    base Data.Functor.Classes

    Lift the standard readsPrec and readList functions through the type constructor.

Page 21 of many | Previous | Next