Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class CFunctor f => CSemialign f where Source #
calignWith :: (Dom f a, Dom f b, Dom f c) => (These a b -> c) -> f a -> f b -> f c Source #
calign :: (Dom f a, Dom f b, Dom f (These a b)) => f a -> f b -> f (These a b) Source #
Instances
class CSemialign f => CAlign f where Source #
Instances
CAlign ZipList Source # | |
CAlign IntMap Source # | |
CAlign Seq Source # | |
CAlign Array Source # | |
CAlign PrimArray Source # | |
CAlign SmallArray Source # | |
Defined in Control.Subcategory.Semialign cnil :: Dom SmallArray a => SmallArray a Source # | |
CAlign Vector Source # | |
CAlign Vector Source # | |
CAlign Vector Source # | |
CAlign Vector Source # | |
CAlign Maybe Source # | |
CAlign [] Source # | |
Defined in Control.Subcategory.Semialign | |
CAlign (Proxy :: Type -> Type) Source # | |
Ord k => CAlign (Map k) Source # | |
Align f => CAlign (WrapFunctor f) Source # | |
Defined in Control.Subcategory.Semialign cnil :: Dom (WrapFunctor f) a => WrapFunctor f a Source # | |
(Eq k, Hashable k) => CAlign (HashMap k) Source # | |
(IsSequence mono, MonoZip mono) => CAlign (WrapMono mono :: Type -> Type) Source # | |
(CAlign f, CAlign g) => CAlign (Product f g) Source # | |
(CAlign f, CAlign g) => CAlign (f :*: g) Source # | |
(CAlign f, CSemialign g) => CAlign (Compose f g) Source # | |
(CAlign f, CSemialign g) => CAlign (f :.: g) Source # | |
cpadZip :: (CSemialign f, Dom f a, Dom f b, Dom f (Maybe a, Maybe b)) => f a -> f b -> f (Maybe a, Maybe b) Source #
cpadZipWith :: (CSemialign f, Dom f a, Dom f b, Dom f c) => (Maybe a -> Maybe b -> c) -> f a -> f b -> f c Source #