Idris2/tests/idris2/interface020/LocalInterface.idr
Edwin Brady 6c9ad81c12 Add missing test
:#	../../../src/Compiler/.ANF.idr.swp
2020-12-14 13:38:40 +00:00

10 lines
152 B
Idris

interface Add a where
add : a -> a
testAdd : Nat -> Nat -> Nat
testAdd x y = add x
where
Add Nat where
add Z = y
add (S k) = add k