pub fn format_document(document: &[LiNo<String>]) -> StringExpand description
Formats a document as canonical LiNo text, one top-level link per line.
A top-level link without an id and with at least two values is written
without its outer parentheses, the way queries are usually typed:
() ((1 1)).