Idris2/tests/idris2/reg042/NatOpts.idr

9 lines
158 B
Idris
Raw Normal View History

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