Idris2/tests/idris2/reg/reg009/Case.idr
2023-09-07 14:57:22 +01:00

7 lines
139 B
Idris

import Decidable.Equality
0 foo : (i, j : Nat) -> Bool
foo i j = case decEq i j of
Yes pf => True
No pf => False