mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
5 lines
77 B
Idris
5 lines
77 B
Idris
|
plus : Nat -> Nat -> Nat
|
||
|
plus m n = case m of
|
||
|
Z => n
|
||
|
S m -> S (plus m n)
|