mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
commit
86c53e6071
@ -6,6 +6,10 @@ import Prelude.Ops
|
||||
|
||||
%default total
|
||||
|
||||
|
||||
||| `Not x` is an alias for `x -> Void`, indicating that any term of type `x`
|
||||
||| leads to a contradiction. It can be used in conjunction with `void` or
|
||||
||| `absurd`.
|
||||
public export
|
||||
Not : Type -> Type
|
||||
Not x = x -> Void
|
||||
|
Loading…
Reference in New Issue
Block a user