utf8-conversions-0.1.0.4: A string conversion library that assumes utf8

Safe HaskellSafe
LanguageHaskell2010

Data.Convertible.Utf8

Synopsis

Documentation

convert :: Convertible a b => a -> b Source #

Convert from a to b. Byte string is assumed to be in utf-8 encoding.

class Convertible a b 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.

Minimal complete definition

convert

Instances
Convertible String String Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible String ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible String ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible String LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible String ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible String ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible String TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible String LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible String Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Methods

convert :: String -> Text Source #

Convertible ShortByteString String Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortByteString ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortByteString ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortByteString LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortByteString ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortByteString ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortByteString TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortByteString LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortByteString Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder String Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteStringBuilder Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString String Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyByteString Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString String Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ByteString Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText String Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible ShortText Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder String Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible TextBuilder Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText String Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible LazyText Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible Text String Source # 
Instance details

Defined in Data.Convertible.Utf8

Methods

convert :: Text -> String Source #

Convertible Text ShortByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible Text ByteStringBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible Text LazyByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible Text ByteString Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible Text ShortText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible Text TextBuilder Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible Text LazyText Source # 
Instance details

Defined in Data.Convertible.Utf8

Convertible Text Text Source # 
Instance details

Defined in Data.Convertible.Utf8

Methods

convert :: Text -> Text Source #