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