mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
6c9ad81c12
:# ../../../src/Compiler/.ANF.idr.swp
10 lines
152 B
Idris
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
|