paperbot · PL 论文追踪

RSS

Backtracking with cut via a distributive law and left-zero monoids

JFP vol.272017引用 12
MACIEJ PIRÓG, SAM STATON

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

原文摘要(Abstract)

Abstract We employ the framework of algebraic effects to augment the list monad with the pruning cut operator known from Prolog. We give two descriptions of the resulting monad: as the monad of free left-zero monoids, and as a composition via a distributive law of the list monad and the ‘unary idempotent operation’ monad. The scope delimiter of cut arises as a handler.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{PirogS17,
  title = {Backtracking with cut via a distributive law and left-zero monoids},
  author = {MACIEJ PIRÓG and SAM STATON},
  journal = {Journal of Functional Programming},
  volume = {27},
  year = {2017},
  doi = {10.1017/s0956796817000077}
}