Closures
Simple pretty printers in Swift, based on Wadler’s pretty printers. If you need something more tested, use DoctorPretty
The key idea in these pretty printers is to build a datatype that supports choice: a document can render either one way or another.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Pretty
Simple pretty printers in Swift, based on Wadler’s pretty printers. If you need something more tested, use DoctorPretty
The key idea in these pretty printers is to build a datatype that supports choice: a document can render either one way or another.
Examples