Kind/book/U60/match.kind2

6 lines
126 B
Plaintext
Raw Normal View History

2024-03-16 04:07:01 +03:00
U60.match (x: U60) (P: U60 -> *) (s: U60 -> (P (+ 1 x))) (z: (P 0)) : (P x) =
switch x {
0: z
_: (s x-1)
}: (P x)