On Structuring Functional Programs with Monoidal Profunctors.

Alexandre Garcia de Oliveira,Mauro Jaskelioff,Ana Cristina Vieira de Melo

European Joint Conferences on Theory And Practice of Software (ETAPS)(2022)

引用 0|浏览18
暂无评分
摘要
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.
更多
查看译文
关键词
structuring functional programs
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要