pandora-0.4.1: A box of patterns and paradigms
Safe HaskellSafe-Inferred
LanguageHaskell2010

Pandora.Pattern.Category

Documentation

class Category (m :: * -> * -> *) where Source #

Minimal complete definition

identity, (.)

Methods

identity :: m a a Source #

(.) :: m b c -> m a b -> m a c infixr 9 Source #

($) :: m (m a b) (m a b) infixr 0 Source #

(#) :: m (m a b) (m a b) infixl 2 Source #

Instances

Instances details
Category Lens Source # 
Instance details

Defined in Pandora.Paradigm.Inventory.Optics

Methods

identity :: Lens a a Source #

(.) :: Lens b c -> Lens a b -> Lens a c Source #

($) :: Lens (Lens a b) (Lens a b) Source #

(#) :: Lens (Lens a b) (Lens a b) Source #

Category (Flip ((->) :: Type -> Type -> Type)) Source # 
Instance details

Defined in Pandora.Paradigm.Primary

Methods

identity :: Flip (->) a a Source #

(.) :: Flip (->) b c -> Flip (->) a b -> Flip (->) a c Source #

($) :: Flip (->) (Flip (->) a b) (Flip (->) a b) Source #

(#) :: Flip (->) (Flip (->) a b) (Flip (->) a b) Source #

Category ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Functor.Function

Methods

identity :: a -> a Source #

(.) :: (b -> c) -> (a -> b) -> a -> c Source #

($) :: (a -> b) -> (a -> b) Source #

(#) :: (a -> b) -> (a -> b) Source #