Objects as identities
There is an equivalent formulation of the notion of category where an object is viewed as a special kind of morphism.
Namely, one defines a category as a Class
- a unary operation
(domain) - a unary operaton
(dodomain) - a partial binary operation
, also written as juxtaposition (composition)
such that for any
exists iff iff either side exists
Thus an object is just a morphism that is the domain or codomain of another morphism,
and these are precisely identities.
The class of all such morphisms is denoted as
(Multi)functors
One advantage of this approach is that a functor
The concept of a multifunctor, e.g.