Skip to main content

Module render

Module render 

Source
Expand description

Render a term as text (INV-626).

Rendering gives every binder a name. name_binders keeps a binder’s hint unless the body refers to another variable of that name, and then adds primes until the name is free. The rendered text therefore parses back to an equal term.

Functions§

name_binders
term with every hint replaced by a name that no variable in the binder’s body already uses.
render
term as text, in the form (λx.(x y)).
render_literal