paperbot · PL 论文追踪

RSS

Selective applicative functors

ICFP 3(ICFP)2019
Andrey Mokhov, Georgy Lukyanov, Simon Marlow, Jeremie Dimino

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

原文摘要(Abstract)

Applicative functors and monads have conquered the world of functional programming by providing general and powerful ways of describing effectful computations using pure functions. Applicative functors provide a way to compose independent effects that cannot depend on values produced by earlier computations, and all of which are declared statically. Monads extend the applicative interface by making it possible to compose dependent effects, where the value computed by one effect determines all subsequent effects, dynamically. This paper introduces an intermediate abstraction called selective applicative functors that requires all effects to be declared statically, but provides a way to select which of the effects to execute dynamically. We demonstrate applications of the new abstraction on several examples, including two industrial case studies.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot598,
  title = {Selective applicative functors},
  author = {Andrey Mokhov and Georgy Lukyanov and Simon Marlow and Jeremie Dimino},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {3},
  number = {ICFP},
  year = {2019},
  doi = {10.1145/3341694}
}