**Packages**- base

The read function reads input from a string, which must be completely consumed by the input process.

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.

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

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

equivalent to readsPrec with a precedence of 0.

Read the next value from the Chan.

Lookup a constructor via a string

Read an unsigned number in decimal notation.

Reads an *unsigned* RealFrac value, expressed in decimal scientific notation.

Read an unsigned number in hexadecimal notation. Both upper or lower case letters are allowed.

Reads an *unsigned* Integral value in an arbitrary base.

Read the value of an IORef

A possible replacement definition for the readList method (GHC only). This is only needed for GHC, and even then only for Read instances readListPrecDefault.