protolude-0.1.8: A sensible set of defaults for writing custom Preludes.

Safe HaskellTrustworthy
LanguageHaskell2010

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 #