protolude-0.3.0: A small prelude.

Safe HaskellTrustworthy
LanguageHaskell2010

Protolude.Conv

Description

An alternative to ConvertText that includes partial conversions. Not re-exported by Protolude.

Documentation

class StringConv a b Source #

Minimal complete definition

strConv

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 #

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

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

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