Termsslug: idempotent-formatting

Idempotent Formatting

幂等格式化

Property that re-formatting already formatted text yields no change, implemented by Sift as a fixed point on text.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Tools
58 pts
Sift Ships Idempotent Formatter and LSP for Lisp Dialects

Open-source project Sift released version 1.27.3, offering an idempotent formatter, a rule-based linter and a language server for Scheme, Emacs Lisp and Common Lisp. Formatting is defined as a fixed point on text that preserves every comment, blank line and reader macro, with each test fixture asserting this property.