text1-0.0.7.3: Non-empty values of `Data.Text`.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Text1.AsSingle

Documentation

class AsSingle s t a b | s -> a, t -> b, s b -> t, t a -> s where Source #

Methods

_Single :: Prism s t a b Source #

Instances

Instances details
AsSingle Text Text Char Char Source # 
Instance details

Defined in Data.Text1.AsSingle

AsSingle Text Text Char Char Source # 
Instance details

Defined in Data.Text1.AsSingle

AsSingle Text1 Text1 Char Char Source # 
Instance details

Defined in Data.Text1.Text1

AsSingle [a] [a] a a Source # 
Instance details

Defined in Data.Text1.AsSingle

Methods

_Single :: Prism [a] [a] a a Source #

AsSingle (Maybe a) (Maybe b) a b Source # 
Instance details

Defined in Data.Text1.AsSingle

Methods

_Single :: Prism (Maybe a) (Maybe b) a b Source #

AsSingle (Identity a) (Identity b) a b Source # 
Instance details

Defined in Data.Text1.AsSingle

Methods

_Single :: Prism (Identity a) (Identity b) a b Source #

AsSingle (NonEmpty a) (NonEmpty a) a a Source # 
Instance details

Defined in Data.Text1.AsSingle

Methods

_Single :: Prism (NonEmpty a) (NonEmpty a) a a Source #