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