mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 20:51:43 +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)
|