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.
classConvertible a b where
A typeclass that represents something that can be converted.
A Convertible a b instance represents an a that can be converted to a b.