Idris2/tests/idris2/with007/With0.idr
2022-02-09 09:19:40 +00:00

6 lines
90 B
Idris

%default total
test : (0 n : Nat) -> Type -> Type
test n a with 0 (n + n)
_ | twon = a