mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +03:00
11 lines
149 B
Idris
11 lines
149 B
Idris
|
%default total
|
||
|
|
||
|
test : (String, ()) -> ()
|
||
|
test ("a", ()) = ()
|
||
|
|
||
|
test' : (Int, ()) -> ()
|
||
|
test' (1, ()) = ()
|
||
|
|
||
|
test'' : Type -> Type
|
||
|
test'' (List a) = a
|