protolude-0.2.4: A small prelude.

Safe HaskellTrustworthy
LanguageHaskell2010

Protolude.Conv

Documentation

class StringConv a b where Source #

Methods

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

Instances
StringConv String String Source # 
Instance details

Defined in Protolude.Conv

StringConv String ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv String ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv String Text Source # 
Instance details

Defined in Protolude.Conv

StringConv String Text Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString String Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString Text Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString Text Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString String Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString Text Source # 
Instance details

Defined in Protolude.Conv

StringConv ByteString Text Source # 
Instance details

Defined in Protolude.Conv

StringConv Text String Source # 
Instance details

Defined in Protolude.Conv

StringConv Text ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv Text ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv Text Text Source # 
Instance details

Defined in Protolude.Conv

Methods

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

StringConv Text Text Source # 
Instance details

Defined in Protolude.Conv

Methods

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

StringConv Text String Source # 
Instance details

Defined in Protolude.Conv

StringConv Text ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv Text ByteString Source # 
Instance details

Defined in Protolude.Conv

StringConv Text Text Source # 
Instance details

Defined in Protolude.Conv

Methods

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

StringConv Text Text Source # 
Instance details

Defined in Protolude.Conv

Methods

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

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

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