IR
Size: a a a
IR
AA
JS
AA
IR
pureRep
и apRep
к
IR
IR
data Collection a = Collection
{ thingFoo :: a
, thingBar :: a
}
deriving stock (Show, Functor, Foldable, Traversable, Generic, Generic1)
deriving Applicative via (Co Collection)
instance Distributive Collection where
collect = genericCollect
instance Representable Collection
IR
IR
IR
AA
data Collection a = Collection
{ thingFoo :: a
, thingBar :: a
}
deriving stock (Show, Functor, Foldable, Traversable, Generic, Generic1)
deriving Applicative via (Co Collection)
instance Distributive Collection where
collect = genericCollect
instance Representable Collection
JS
AA
KV
ЗП
ЗП