Artículo

On Structuring Functional Programs with Monoidal Profunctors

De Oliveira, Alexandre Garcia ; Jaskelioff, Mauro Javier Icon; De Melo, Ana Cristina Vieira

Otros responsables

Fecha

06/2022

Editorial

Open Publishing Association

Revista

Electronic Proceedings in Theoretical Computer Science

Título del libro

Nombre del evento

Fecha del evento

Institución organizadora

ISSN

2075-2180

eISSN

ISBN

Idioma

Inglés

Tipo del evento

Clasificación temática

Resumen

We study monoidal profunctors as a tool to reason and structure pure functional programs both from a categorical perspective and as a Haskell implementation. From the categorical point of view we approach them as monoids in a certain monoidal category of profunctors. We study properties of this monoidal category and construct and implement the free monoidal profunctor. We study the relationship of the monoidal construction to optics, and introduce a promising generalization of the implementation which we illustrate by introducing effectful monoidal profunctors.

Aprobación

Revisión

Complementado por

Referenciado por

Licencia Creative Commons

Excepto donde se indique lo contrario, la licencia de este ítem se describe como by-nc-sa