protolude-0.3.4: 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

Instances details
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 ByteString 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 -> Text -> 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 -> Text Source #

StringConv Text Text Source # 
Instance details

Defined in Protolude.Conv

Methods

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

StringConv Text 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 String String Source # 
Instance details

Defined in Protolude.Conv

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

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

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

data Leniency Source #

Constructors

Lenient 
Strict 

Instances

Instances details
Bounded Leniency Source # 
Instance details

Defined in Protolude.Conv

Enum Leniency Source # 
Instance details

Defined in Protolude.Conv

Show Leniency Source # 
Instance details

Defined in Protolude.Conv

Eq Leniency Source # 
Instance details

Defined in Protolude.Conv

Ord Leniency Source # 
Instance details

Defined in Protolude.Conv