mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:15:26 +03:00
11 lines
281 B
Plaintext
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)
|
|
|