mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +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
|