Category of Lenses
Let
be a Cartesian
Category. The category of
lenses in
has the same objects as
, and morphisms
consist of a "getter"
, and a "setter"
.
This category can abstractly be constructed as the Total Category
of the Fibrewise
Opposite of the Simple
Fibration of
.
Properties
- A morphism
over
is Cartesian
if and only if
is Invertible.