Skip to content

Commit

Permalink
Add documentation for Not.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marshall Abrams committed Aug 16, 2023
1 parent badf1e9 commit bdb6531
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/prelude/Prelude/Basics.idr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdb6531

Please sign in to comment.