mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-10-26 16:20:58 +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)
|
|
|