Idris2/tests/idris2/perror015/ParseWith.idr
2022-04-29 08:59:40 +01:00

5 lines
56 B
Idris

foo : Nat -> Nat
foo a with a
_ | 0 = a
_ | S k = a