protolude-0.2.2: A small prelude.

Safe HaskellTrustworthy
LanguageHaskell2010

Protolude.Conv

Documentation

class StringConv a b where Source #

Minimal complete definition

strConv

Methods

strConv :: Leniency -> a -> b Source #

Instances

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

Methods

strConv :: Leniency -> Text -> Text Source #

StringConv Text Text Source # 

Methods

strConv :: Leniency -> Text -> Text Source #

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

Methods

strConv :: Leniency -> Text -> Text Source #

StringConv Text Text Source # 

Methods

strConv :: Leniency -> Text -> Text Source #

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

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