Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Category.Limit
Documentation
class Representable (Limit j1 d) => IsRepresentableLimit (j1 :: PRO k i) (d :: PRO j i) Source Comments #
Instances
Representable (Limit j2 d) => IsRepresentableLimit (j2 :: PRO k i) (d :: PRO j1 i) Source Comments # | |
Defined in Proarrow.Category.Limit |
class (forall (d :: PRO k i). Representable d => IsRepresentableLimit j d) => HasLimits (j :: PRO a i) k where Source Comments #
Methods
limit :: forall (d :: PRO k i). Representable d => Limit j d :~> (d <| j) Source Comments #
limitInv :: forall (d :: PRO k i). Representable d => (d <| j) :~> Limit j d Source Comments #
Instances
type Unweighted = TerminalProfunctor :: j -> k -> Type Source Comments #
data TerminalLimit (d :: PRO k VOID) (a :: k) (b :: UNIT) where Source Comments #
Constructors
TerminalLimit :: forall {k} (d :: PRO k VOID) (a :: k). (a ~> (TerminalObject :: k)) -> TerminalLimit d a 'U |
Instances
HasTerminalObject k => Profunctor (TerminalLimit d :: k -> UNIT -> Type) Source Comments # | |
Defined in Proarrow.Category.Limit | |
HasTerminalObject k => Representable (TerminalLimit d :: k -> UNIT -> Type) Source Comments # | |
Defined in Proarrow.Category.Limit Methods index :: forall (a :: k) (b :: UNIT). TerminalLimit d a b -> a ~> (TerminalLimit d % b) Source Comments # tabulate :: forall (b :: UNIT) (a :: k). Ob b => (a ~> (TerminalLimit d % b)) -> TerminalLimit d a b Source Comments # repMap :: forall (a :: UNIT) (b :: UNIT). (a ~> b) -> (TerminalLimit d % a) ~> (TerminalLimit d % b) Source Comments # | |
type (TerminalLimit d :: k -> UNIT -> Type) % 'U Source Comments # | |
Defined in Proarrow.Category.Limit |
data ProductLimit (d :: PRO k (COPRODUCT UNIT UNIT)) (a :: k) (b :: UNIT) where Source Comments #
Constructors
ProductLimit :: forall {k} (d :: PRO k (COPRODUCT UNIT UNIT)) (a :: k). (a ~> (ProductLimit d % 'U)) -> ProductLimit d a 'U |
Instances
(HasBinaryProducts k, Representable d) => Profunctor (ProductLimit d :: k -> UNIT -> Type) Source Comments # | |
Defined in Proarrow.Category.Limit | |
(HasBinaryProducts k, Representable d) => Representable (ProductLimit d :: k -> UNIT -> Type) Source Comments # | |
Defined in Proarrow.Category.Limit Methods index :: forall (a :: k) (b :: UNIT). ProductLimit d a b -> a ~> (ProductLimit d % b) Source Comments # tabulate :: forall (b :: UNIT) (a :: k). Ob b => (a ~> (ProductLimit d % b)) -> ProductLimit d a b Source Comments # repMap :: forall (a :: UNIT) (b :: UNIT). (a ~> b) -> (ProductLimit d % a) ~> (ProductLimit d % b) Source Comments # | |
type (ProductLimit d :: k -> UNIT -> Type) % 'U Source Comments # | |
choose :: forall k (d :: PRO k (COPRODUCT UNIT UNIT)) (b :: COPRODUCT UNIT UNIT). (HasBinaryProducts k, Representable d) => Obj b -> ((d % ('L 'U :: COPRODUCT UNIT UNIT)) && (d % ('R 'U :: COPRODUCT UNIT UNIT))) ~> (d % b) Source Comments #
data EndLimit (d :: PRO Type (OPPOSITE k, k)) a (b :: UNIT) where Source Comments #
Constructors
EndLimit :: forall {k} (d :: PRO Type (OPPOSITE k, k)) a. (a -> End d) -> EndLimit d a 'U |
Instances
Representable d => Profunctor (EndLimit d :: Type -> UNIT -> Type) Source Comments # | |
Representable d => Representable (EndLimit d :: Type -> UNIT -> Type) Source Comments # | |
Defined in Proarrow.Category.Limit Methods index :: forall a (b :: UNIT). EndLimit d a b -> a ~> (EndLimit d % b) Source Comments # tabulate :: forall (b :: UNIT) a. Ob b => (a ~> (EndLimit d % b)) -> EndLimit d a b Source Comments # repMap :: forall (a :: UNIT) (b :: UNIT). (a ~> b) -> (EndLimit d % a) ~> (EndLimit d % b) Source Comments # | |
type (EndLimit d :: Type -> UNIT -> Type) % 'U Source Comments # | |
data Hom (a :: UNIT) (b :: (OPPOSITE k, k)) where Source Comments #
Constructors
Hom :: forall {k} (b :: (OPPOSITE k, k)). Ob b => (UN ('OP :: k -> OPPOSITE k) (Fst b) ~> Snd b) -> Hom 'U b |
Instances
CategoryOf k => Profunctor (Hom :: UNIT -> (OPPOSITE k, k) -> Type) Source Comments # | |
CategoryOf k => HasLimits (Hom :: UNIT -> (OPPOSITE k, k) -> Type) Type Source Comments # | |
Defined in Proarrow.Category.Limit Methods limit :: forall (d :: PRO Type (OPPOSITE k, k)). Representable d => Limit (Hom :: UNIT -> (OPPOSITE k, k) -> Type) d :~> (d <| (Hom :: UNIT -> (OPPOSITE k, k) -> Type)) Source Comments # limitInv :: forall (d :: PRO Type (OPPOSITE k, k)). Representable d => (d <| (Hom :: UNIT -> (OPPOSITE k, k) -> Type)) :~> Limit (Hom :: UNIT -> (OPPOSITE k, k) -> Type) d Source Comments # | |
type Limit (Hom :: UNIT -> (OPPOSITE k, k) -> Type) (d :: PRO Type (OPPOSITE k, k)) Source Comments # | |