Skip to main content

format_document

Function format_document 

Source
pub fn format_document(document: &[LiNo<String>]) -> String
Expand 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)).