protolude-0.2.2: A small prelude.

Safe HaskellTrustworthy
LanguageHaskell2010

Protolude.Conv

Documentation

class StringConv a b where #

Minimal complete definition

strConv

Methods

strConv :: Leniency -> a -> b #

Instances

StringConv String String # 

Methods

strConv :: Leniency -> String -> String #

StringConv String ByteString # 
StringConv String ByteString # 
StringConv String Text # 

Methods

strConv :: Leniency -> String -> Text #

StringConv String Text # 

Methods

strConv :: Leniency -> String -> Text #

StringConv ByteString String # 
StringConv ByteString ByteString # 
StringConv ByteString ByteString # 
StringConv ByteString Text # 

Methods

strConv :: Leniency -> ByteString -> Text #

StringConv ByteString Text # 

Methods

strConv :: Leniency -> ByteString -> Text #

StringConv ByteString String # 
StringConv ByteString ByteString # 
StringConv ByteString ByteString # 
StringConv ByteString Text # 

Methods

strConv :: Leniency -> ByteString -> Text #

StringConv ByteString Text # 

Methods

strConv :: Leniency -> ByteString -> Text #

StringConv Text String # 

Methods

strConv :: Leniency -> Text -> String #

StringConv Text ByteString # 

Methods

strConv :: Leniency -> Text -> ByteString #

StringConv Text ByteString # 

Methods

strConv :: Leniency -> Text -> ByteString #

StringConv Text Text # 

Methods

strConv :: Leniency -> Text -> Text #

StringConv Text Text # 

Methods

strConv :: Leniency -> Text -> Text #

StringConv Text String # 

Methods

strConv :: Leniency -> Text -> String #

StringConv Text ByteString # 

Methods

strConv :: Leniency -> Text -> ByteString #

StringConv Text ByteString # 

Methods

strConv :: Leniency -> Text -> ByteString #

StringConv Text Text # 

Methods

strConv :: Leniency -> Text -> Text #

StringConv Text Text # 

Methods

strConv :: Leniency -> Text -> Text #

toS :: StringConv a b => a -> b #

toSL :: StringConv a b => a -> b #