convertible-1.1.1.0: Typeclasses and instances for converting between types

Copyright | Copyright (C) 2011 MailRank Inc.
License | LGPL
Maintainer | John Goerzen <jgoerzen@complete.org>
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell98

Data.Convertible.Instances.Text

Contents

- Orphan instances

Description

Text instances for Convertible.

Copyright (C) 2011 MailRank, Inc. bos@mailrank.com

All rights reserved.

For license and copyright information, see the file COPYRIGHT

These instances perform conversion between text-like types such as Text, ByteString, and the like.

The instances do not include conversions between ByteString and Text or String, since such conversions cannot safely be performed without knowing the encoding of the ByteString.

# Orphan instances

Convertible Char Builder Source # |
Methods safeConvert :: Char -> ConvertResult Builder Source #
Convertible Char Text Source # |
Methods safeConvert :: Char -> ConvertResult Text Source #
Convertible Char Text Source # |
Methods safeConvert :: Char -> ConvertResult Text Source #
Convertible Word8 ByteString Source # |
Methods safeConvert :: Word8 -> ConvertResult ByteString Source #
Convertible Word8 ByteString Source # |
Methods safeConvert :: Word8 -> ConvertResult ByteString Source #
Convertible Word8 Builder Source # |
Methods safeConvert :: Word8 -> ConvertResult Builder Source #
Convertible ByteString ByteString Source # |
Methods safeConvert :: ByteString -> ConvertResult ByteString Source #
Convertible ByteString Builder Source # |
Methods safeConvert :: ByteString -> ConvertResult Builder Source #
Convertible ByteString Builder Source # |
Methods safeConvert :: ByteString -> ConvertResult Builder Source #
Convertible ByteString Text Source # |
Methods safeConvert :: ByteString -> ConvertResult Text Source #
Convertible ByteString Text Source # |
Methods safeConvert :: ByteString -> ConvertResult Text Source #
Convertible ByteString ByteString Source # |
Methods safeConvert :: ByteString -> ConvertResult ByteString Source #
Convertible ByteString Builder Source # |
Methods safeConvert :: ByteString -> ConvertResult Builder Source #
Convertible ByteString Builder Source # |
Methods safeConvert :: ByteString -> ConvertResult Builder Source #
Convertible ByteString Text Source # |
Methods safeConvert :: ByteString -> ConvertResult Text Source #
Convertible ByteString Text Source # |
Methods safeConvert :: ByteString -> ConvertResult Text Source #
Convertible Builder ByteString Source # |
Methods safeConvert :: Builder -> ConvertResult ByteString Source #
Convertible Builder ByteString Source # |
Methods safeConvert :: Builder -> ConvertResult ByteString Source #
Convertible Builder Builder Source # |
Methods safeConvert :: Builder -> ConvertResult Builder Source #
Convertible Builder Text Source # |
Methods safeConvert :: Builder -> ConvertResult Text Source #
Convertible Builder Text Source # |
Methods safeConvert :: Builder -> ConvertResult Text Source #
Convertible Text ByteString Source # |
Methods safeConvert :: Text -> ConvertResult ByteString Source #
Convertible Text ByteString Source # |
Methods safeConvert :: Text -> ConvertResult ByteString Source #
Convertible Text Builder Source # |
Methods safeConvert :: Text -> ConvertResult Builder Source #
Convertible Text Builder Source # |
Methods safeConvert :: Text -> ConvertResult Builder Source #
Convertible Text Text Source # |
Methods safeConvert :: Text -> ConvertResult Text Source #
Convertible Text ByteString Source # |
Methods safeConvert :: Text -> ConvertResult ByteString Source #
Convertible Text ByteString Source # |
Methods safeConvert :: Text -> ConvertResult ByteString Source #
Convertible Text Builder Source # |
Methods safeConvert :: Text -> ConvertResult Builder Source #
Convertible Text Builder Source # |
Methods safeConvert :: Text -> ConvertResult Builder Source #
Convertible Text Text Source # |
Methods safeConvert :: Text -> ConvertResult Text Source #
Convertible ByteString [Word8] Source # |
Methods safeConvert :: ByteString -> ConvertResult [Word8] Source #
Convertible ByteString [Word8] Source # |
Methods safeConvert :: ByteString -> ConvertResult [Word8] Source #
Convertible Builder [Char] Source # |
Methods safeConvert :: Builder -> ConvertResult [Char] Source #
Convertible Text [Char] Source # |
Methods safeConvert :: Text -> ConvertResult [Char] Source #
Convertible Text [Char] Source # |
Methods safeConvert :: Text -> ConvertResult [Char] Source #
Convertible [Char] Builder Source # |
Methods safeConvert :: [Char] -> ConvertResult Builder Source #
Convertible [Char] Text Source # |
Methods safeConvert :: [Char] -> ConvertResult Text Source #
Convertible [Char] Text Source # |
Methods safeConvert :: [Char] -> ConvertResult Text Source #
Convertible [Word8] ByteString Source # |
Methods safeConvert :: [Word8] -> ConvertResult ByteString Source #
Convertible [Word8] ByteString Source # |
Methods safeConvert :: [Word8] -> ConvertResult ByteString Source #
Convertible [Word8] Builder Source # |
Methods safeConvert :: [Word8] -> ConvertResult Builder Source #