Kind/book/Bool.if.kind2
2024-03-13 22:32:30 -03:00

6 lines
96 B
Plaintext

Bool.if (b: Bool) (P: *) (t: P) (f: P) : P =
match b {
Bool.true: t
Bool.false: f
}