Safe Haskell | None |
---|---|
Language | Haskell2010 |
Control.Subcategory.Semialign
Documentation
class CFunctor f => CSemialign (f :: Type -> Type) 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 :: Type -> Type) where Source #
Instances
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 #