generic-data-functions-0.1.1: Familiar functions lifted to generic data types
Safe HaskellSafe-Inferred
LanguageGHC2021

Generic.Data.Function.Example

Documentation

data D a Source #

Constructors

D1 a 
D2 a a 

Instances

Instances details
Generic (D a) Source # 
Instance details

Defined in Generic.Data.Function.Example

Associated Types

type Rep (D a) :: Type -> Type Source #

Methods

from :: D a -> Rep (D a) x Source #

to :: Rep (D a) x -> D a Source #

Show a => Show (D a) Source # 
Instance details

Defined in Generic.Data.Function.Example

Methods

showsPrec :: Int -> D a -> ShowS Source #

show :: D a -> String Source #

showList :: [D a] -> ShowS Source #

type Rep (D a) Source # 
Instance details

Defined in Generic.Data.Function.Example

newtype Showly a Source #

Constructors

Showly 

Fields

Instances

Instances details
Monoid a => Monoid (Showly a) Source # 
Instance details

Defined in Generic.Data.Function.Example

Semigroup a => Semigroup (Showly a) Source # 
Instance details

Defined in Generic.Data.Function.Example

Methods

(<>) :: Showly a -> Showly a -> Showly a Source #

sconcat :: NonEmpty (Showly a) -> Showly a Source #

stimes :: Integral b => b -> Showly a -> Showly a Source #

Show a => Show (Showly a) Source # 
Instance details

Defined in Generic.Data.Function.Example

GenericFoldMap (Showly String) Source # 
Instance details

Defined in Generic.Data.Function.Example

Associated Types

type GenericFoldMapC (Showly String) a Source #

type GenericFoldMapC (Showly String) a Source # 
Instance details

Defined in Generic.Data.Function.Example