Idris2/tests/idris2/misc/import001/Mult.idr
2023-09-07 14:57:22 +01:00

9 lines
117 B
Idris

module Mult
import public Nat
public export
mult : Nat -> Nat -> Nat
mult Z y = Z
mult (S k) y = plus y (mult k y)