paperbot · PL 论文追踪

RSS

Strict and lazy semantics for effects: layering monads and comonads

ICFP 2(ICFP)2018
Andrew K. Hirsch, Ross Tate

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Two particularly important classes of effects are those that can be given semantics using a monad and those that can be given semantics using a comonad. Currently, programs with both kinds of effects are usually given semantics using a technique that relies on a distributive law. While it is known that not every pair of a monad and a comonad has a distributive law, it was previously unknown if there were any realistic pairs of effects that could not be given semantics in this manner. This paper answers that question by giving an example of a pair of effects that cannot be given semantics using a distributive law. Our example furthermore is intimately tied to the duality of strictness and laziness. We discuss how to view this duality through the lens of effects.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot273,
  title = {Strict and lazy semantics for effects: layering monads and comonads},
  author = {Andrew K. Hirsch and Ross Tate},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {2},
  number = {ICFP},
  year = {2018},
  doi = {10.1145/3236783}
}