| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Convertible.Class
Synopsis
- class Convertible a b where
- convert :: a -> b
Documentation
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 from a to b.
Byte string is assumed to be in utf-8 encoding.