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 # |
Instance details Methods safeConvert :: Char -> ConvertResult Builder #
Convertible Char Text # |
Instance details Methods safeConvert :: Char -> ConvertResult Text #
Convertible Char Text # |
Instance details Methods safeConvert :: Char -> ConvertResult Text #
Convertible Word8 ByteString # |
Instance details Methods safeConvert :: Word8 -> ConvertResult ByteString #
Convertible Word8 ByteString # |
Instance details Methods safeConvert :: Word8 -> ConvertResult ByteString #
Convertible Word8 Builder # |
Instance details Methods safeConvert :: Word8 -> ConvertResult Builder #
Convertible ByteString ByteString # |
Instance details Methods safeConvert :: ByteString0 -> ConvertResult ByteString #
Convertible ByteString Builder # |
Instance details Methods safeConvert :: ByteString -> ConvertResult Builder #
Convertible ByteString Builder # |
Instance details Methods safeConvert :: ByteString -> ConvertResult Builder #
Convertible ByteString Text # |
Instance details Methods safeConvert :: ByteString -> ConvertResult Text #
Convertible ByteString Text # |
Instance details Methods safeConvert :: ByteString -> ConvertResult Text #
Convertible ByteString ByteString # |
Instance details Methods safeConvert :: ByteString -> ConvertResult ByteString0 #
Convertible ByteString Builder # |
Instance details Methods safeConvert :: ByteString -> ConvertResult Builder #
Convertible ByteString Builder # |
Instance details Methods safeConvert :: ByteString -> ConvertResult Builder #
Convertible ByteString Text # |
Instance details Methods safeConvert :: ByteString -> ConvertResult Text #
Convertible ByteString Text # |
Instance details Methods safeConvert :: ByteString -> ConvertResult Text #
Convertible Builder ByteString # |
Instance details Methods safeConvert :: Builder -> ConvertResult ByteString #
Convertible Builder ByteString # |
Instance details Methods safeConvert :: Builder -> ConvertResult ByteString #
Convertible Builder Builder # |
Instance details Methods safeConvert :: Builder -> ConvertResult Builder0 #
Convertible Builder Text # |
Instance details Methods safeConvert :: Builder -> ConvertResult Text #
Convertible Builder Text # |
Instance details Methods safeConvert :: Builder -> ConvertResult Text #
Convertible Text ByteString # |
Instance details Methods safeConvert :: Text -> ConvertResult ByteString #
Convertible Text ByteString # |
Instance details Methods safeConvert :: Text -> ConvertResult ByteString #
Convertible Text Builder # |
Instance details Methods safeConvert :: Text -> ConvertResult Builder #
Convertible Text Builder # |
Instance details Methods safeConvert :: Text -> ConvertResult Builder #
Convertible Text Text # |
Instance details Methods safeConvert :: Text0 -> ConvertResult Text #
Convertible Text ByteString # |
Instance details Methods safeConvert :: Text -> ConvertResult ByteString #
Convertible Text ByteString # |
Instance details Methods safeConvert :: Text -> ConvertResult ByteString #
Convertible Text Builder # |
Instance details Methods safeConvert :: Text -> ConvertResult Builder #
Convertible Text Builder # |
Instance details Methods safeConvert :: Text -> ConvertResult Builder #
Convertible Text Text # |
Instance details Methods safeConvert :: Text -> ConvertResult Text0 #
Convertible ByteString [Word8] # |
Instance details Methods safeConvert :: ByteString -> ConvertResult [Word8] #
Convertible ByteString [Word8] # |
Instance details Methods safeConvert :: ByteString -> ConvertResult [Word8] #
Convertible Builder [Char] # |
Instance details Methods safeConvert :: Builder -> ConvertResult [Char] #
Convertible Text [Char] # |
Instance details Methods safeConvert :: Text -> ConvertResult [Char] #
Convertible Text [Char] # |
Instance details Methods safeConvert :: Text -> ConvertResult [Char] #
Convertible [Char] Builder # |
Instance details Methods safeConvert :: [Char] -> ConvertResult Builder #
Convertible [Char] Text # |
Instance details Methods safeConvert :: [Char] -> ConvertResult Text #
Convertible [Char] Text # |
Instance details Methods safeConvert :: [Char] -> ConvertResult Text #
Convertible [Word8] ByteString # |
Instance details Methods safeConvert :: [Word8] -> ConvertResult ByteString #
Convertible [Word8] ByteString # |
Instance details Methods safeConvert :: [Word8] -> ConvertResult ByteString #
Convertible [Word8] Builder # |
Instance details Methods safeConvert :: [Word8] -> ConvertResult Builder #