mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
8 lines
126 B
Idris
8 lines
126 B
Idris
%default total
|
|
|
|
test : (f : () -> Bool) -> f () = True
|
|
test (\x => True) = Refl
|
|
|
|
bad : False = True
|
|
bad = test (\() => False)
|