Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- class Convertible a b where
- convert :: a -> b
- type Text = Text
- type LazyText = Text
- type TextBuilder = Builder
- type ShortText = ShortText
- type ByteString = ByteString
- type LazyByteString = ByteString
- type ByteStringBuilder = Builder
- type ShortByteString = ShortByteString
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
.
Instances
type TextBuilder = Builder Source #
type ByteString = ByteString Source #
type LazyByteString = ByteString Source #
type ByteStringBuilder = Builder Source #
type ShortByteString = ShortByteString Source #