Kind/book/U60.match.kind2
2024-03-01 20:40:31 -03:00

8 lines
182 B
Plaintext

U60.match
: ∀(x: #U60)
∀(P: ∀(x: #U60) *)
∀(s: ∀(x: #U60) (P #(+ #1 x)))
∀(z: (P #0))
(P x)
= λx λP λs λz
#match self = x { #0: z #+: (s self-1) }: (P self)