Idris2-boot/tests/idris2/import002/Mult.idr
2019-06-24 00:12:58 +01:00

9 lines
110 B
Idris

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