Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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
.