Generics.SOP

Codes and interpretations

class Generic a

type Rep a

n-ary datatypes

data NP

data NS

data SOP f xss

unSOP

data POP f xss

unPOP

Metadata

data DatatypeInfo

data ConstructorInfo

data FieldInfo

class HasDatatypeInfo a

type DatatypeName

type ModuleName

type ConstructorName

type FieldName

data Associativity

type Fixity

Combinators

Constructing products

class HPure h

Application

data (f -.-> g) a

fn

fn_2

fn_3

fn_4

type family Prod h :: (k -> *) -> l -> *

class HAp h

Lifting / mapping

hliftA

hliftA2

hliftA3

hcliftA

hcliftA2

hcliftA3

Constructing sums

type Injection f xs

injections

shift

apInjs_NP

apInjs_POP

Dealing with All c

data AllDict c xs

allDict_NP

hcliftA'

hcliftA2'

hcliftA3'

Collapsing

type family CollapseTo h :: * -> *

class HCollapse h

Sequencing

class HSequence h

hsequence

hsequenceK

Partial operations

fromList

Utilities

Basic functors

data K a b

unK

data I a

unI

data (f :.: g) p

unComp

Mapping constraints

type family All c xs :: Constraint

type family All2 c xs :: Constraint

type family Map f xs :: [l]

type family AllMap h c xs :: Constraint

Singletons

data family Sing a

class SingI a

Shape of type-level lists

data Shape

shape

lengthSing

Re-exports

data Proxy t