|
Data.Convertible.Base | Portability | portable | Stability | provisional | Maintainer | John Goerzen <jgoerzen@complete.org> |
|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
The conversion process
|
|
|
Convert from one type of data to another. Raises an exception if there is
an error with the conversion. For a function that does not raise an exception
in that case, see safeConvert.
|
|
class Convertible a b where | Source |
|
A typeclass that represents something that can be converted.
A Convertible a b instance represents an a that can be converted to a b.
| | Methods | | Convert a to b, returning Right on success and Left on error.
For a simpler interface, see convert.
|
|
|
|
Handling the results
|
|
|
The result of a safe conversion via safeConvert.
|
|
|
How we indicate that there was an error.
| Constructors | |
|
|
|
|
|
|
Produced by Haddock version 2.6.1 |