mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:56:48 +03:00
11 lines
245 B
Plaintext
11 lines
245 B
Plaintext
U60.show.go
|
|
: ∀(n: #U60) String.Concatenator
|
|
= λn
|
|
#match x = #(< n #10) {
|
|
#0: λnil
|
|
(U60.show.go
|
|
#(/ n #10)
|
|
(String.cons #(+ #48 #(% n #10)) nil)
|
|
)
|
|
#+: λnil (String.cons #(+ #48 n) nil)
|
|
}: String.Concatenator |