mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 20:40:38 +03:00
7 lines
136 B
Plaintext
7 lines
136 B
Plaintext
Bool.match
|
|
: ∀(b: Bool)
|
|
∀(P: ∀(x: Bool) *)
|
|
∀(t: (P Bool.true))
|
|
∀(f: (P Bool.false))
|
|
(P b)
|
|
= λb λP λt λf (~b P t f) |