Idris2/tests/idris2/perror012/CaseParseError.idr
2022-03-31 10:43:46 +01:00

5 lines
77 B
Idris

plus : Nat -> Nat -> Nat
plus m n = case m of
Z => n
S m -> S (plus m n)