paperbot · PL 论文追踪

RSS

A pretty but not greedy printer (functional pearl)

ICFP 1(ICFP)2017引用 6
Jean-Philippe Bernardy

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

原文摘要(Abstract)

This paper proposes a new specification of pretty printing which is stronger than the state of the art: we require the output to be the shortest possible, and we also offer the ability to align sub-documents at will. We argue that our specification precludes a greedy implementation. Yet, we provide an implementation which behaves linearly in the size of the output. The derivation of the implementation demonstrates functional programming methodology.

链接与引用

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

BibTeX
@article{Bernardy17,
  title = {A pretty but not greedy printer (functional pearl)},
  author = {Jean-Philippe Bernardy},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {1},
  number = {ICFP},
  year = {2017},
  doi = {10.1145/3110250}
}