mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 19:21:39 +03:00
05f28724ed
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
15 lines
290 B
Idris
15 lines
290 B
Idris
doPlus : Nat -> Nat -> Nat
|
|
doPlus x y = x `plus` y
|
|
|
|
doMult : Nat -> Nat -> Nat
|
|
doMult x y = x `mult` y
|
|
|
|
doMinus : Nat -> Nat -> Nat
|
|
doMinus x y = x `minus` y
|
|
|
|
doEqual : (m, n : Nat) -> Bool
|
|
doEqual m n = m `equalNat` n
|
|
|
|
doCompare : (m, n : Nat) -> Ordering
|
|
doCompare m n = m `compareNat` n
|