| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Convertible.Utf8
Synopsis
- convert :: Convertible a b => a -> b
- class Convertible a b
Documentation
convert :: Convertible a b => a -> b Source #
Convert from a to b.
Byte string is assumed to be in utf-8 encoding.
class Convertible a b 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.
Minimal complete definition