unison/unison-src/tests/r2.u
2020-02-07 18:59:37 -08:00

7 lines
130 B
Plaintext

type Optional a = None | Some a
r2 : Nat
r2 = match Optional.Some true with
Optional.Some true -> 1
Optional.Some false -> 0