计算机科学 > 程序设计语言
[提交于 2022年7月5日]
标题:On Structuring Functional Programs with Monoidal Profunctors
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:EPTCS[v1] 2022年7月5日 星期二 00:00:00 UTC