mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-24 06:52:19 +03:00
Add documentation for Not.
This commit is contained in:
parent
badf1e98c8
commit
bdb6531b86
@ -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