| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Control.Subcategory.Semialign
Documentation
class CFunctor f => CSemialign f where Source #
Minimal complete definition
Methods
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 Methods cnil :: Dom SmallArray a => SmallArray a Source # | |
| CAlign Vector Source # | |
| CAlign Vector Source # | |
| CAlign Vector Source # | |
| CAlign Vector Source # | |
| CAlign Maybe Source # | |
| CAlign List Source # | |
| CAlign (Proxy :: Type -> Type) Source # | |
| Ord k => CAlign (Map k) Source # | |
| Align f => CAlign (WrapFunctor f) Source # | |
Defined in Control.Subcategory.Semialign Methods 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 #