mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +03:00
6 lines
90 B
Idris
6 lines
90 B
Idris
%default total
|
|
|
|
test : (0 n : Nat) -> Type -> Type
|
|
test n a with 0 (n + n)
|
|
_ | twon = a
|