Kind/book/Kind.Term.to_hvm.nl.kind2
2024-02-21 22:10:51 -03:00

11 lines
281 B
Plaintext

Kind.Term.to_hvm.nl
: ∀(inc: Bool)
∀(tab: Nat)
String.Concatenator
= λinc λtab
let P = λx(String.Concatenator)
let true = λnil (nil)
let false = λnil ((Kind.Text.show.go String.newline) ((Kind.Text.show.go (String.indent tab)) nil))
(~inc P true false)