mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +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
|