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. readInt :: Num a => a -> (Char -> Bool) -> (Char -> Int) -> ReadS a

    ghc-internal GHC.Internal.Numeric

    Reads an unsigned integral value in an arbitrary base.

  2. readOct :: (Eq a, Num a) => ReadS a

    ghc-internal GHC.Internal.Numeric

    Read an unsigned number in octal notation.

    >>> readOct "0644"
    [(420,"")]
    

  3. readSigned :: Real a => ReadS a -> ReadS a

    ghc-internal GHC.Internal.Numeric

    Reads a signed Real value, given a reader for an unsigned value.

  4. readField :: String -> ReadPrec a -> ReadPrec a

    ghc-internal GHC.Internal.Read

    Read parser for a record field, of the form fieldName=value. The fieldName must be an alphanumeric identifier; for symbols (operator-style) field names, e.g. (#), use readSymField). The second argument is a parser for the field value.

  5. readFieldHash :: String -> ReadPrec a -> ReadPrec a

    ghc-internal GHC.Internal.Read

    Read parser for a record field, of the form fieldName#=value. That is, an alphanumeric identifier fieldName followed by the symbol #. The second argument is a parser for the field value. Note that readField does not suffice for this purpose due to #5041.

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

    ghc-internal GHC.Internal.Read

    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.

  7. readListDefault :: Read a => ReadS [a]

    ghc-internal GHC.Internal.Read

    A possible replacement definition for the readList method (GHC only). This is only needed for GHC, and even then only for Read instances where readListPrec isn't defined as readListPrecDefault.

  8. readListPrec :: Read a => ReadPrec [a]

    ghc-internal GHC.Internal.Read

    Proposed replacement for readList using new-style parsers (GHC only). The default definition uses readList. Instances that define readPrec should also define readListPrec as readListPrecDefault.

  9. readListPrecDefault :: Read a => ReadPrec [a]

    ghc-internal GHC.Internal.Read

    A possible replacement definition for the readListPrec method, defined using readPrec (GHC only).

  10. readLitChar :: ReadS Char

    ghc-internal GHC.Internal.Read

    Read a string representation of a character, using Haskell source-language escape conventions, and convert it to the character that it encodes. For example:

    readLitChar "\\nHello"  =  [('\n', "Hello")]
    

Page 192 of many | Previous | Next