Passer à la navigation principale Passer à la recherche Passer au contenu principal

Internal lenses as functors and cofunctors

  • Bryce Clarke
  • Macquarie University

Résultats de recherche: Contribution à un journalArticle de conférenceRevue par des pairs

11 Citations (Scopus)

Résumé

Lenses may be characterised as objects in the category of algebras over a monad, however they are often understood instead as morphisms, which propagate updates between systems. Working internally to a category with pullbacks, we define lenses as simultaneously functors and cofunctors between categories. We show that lenses may be canonically represented as a particular commuting triangle of functors, and unify the classical state-based lenses with both c-lenses and d-lenses in this framework. This new treatment of lenses leads to considerable simplifications that are important in applications, including a clear interpretation of lens composition.

langue originaleAnglais
Pages (de - à)183-195
Nombre de pages13
journalElectronic Proceedings in Theoretical Computer Science, EPTCS
Volume323
Les DOIs
étatPublié - 15 sept. 2020
Modification externeOui
Evénement2019 Applied Category Theory 2019, ACT 2019 - Oxford, Royaume-Uni
Durée: 15 juil. 201919 juil. 2019

Empreinte digitale

Examiner les sujets de recherche de « Internal lenses as functors and cofunctors ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation