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