Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Re-exports some of the underlying textual and byte serialisation mechanisms for convenience.
Many of the AWS identifiers like S3's ObjectVersionId
or ETag
,
as well as any nullary sum types such as Region
have ToText
and ToByteString
instances, making it convenient to use the type classes
to convert a value to its textual representation.
Text
class FromText a where
fromTextError :: Text -> Parser a
class ToText a where
ByteString
class ToByteString a where
Nothing
toBS :: a -> ByteString
Log Messages
class ToLog a where