Skip to content

Commit

Permalink
Merge pull request #3045 from mars0i/main
Browse files Browse the repository at this point in the history
Add documentation for Not.
  • Loading branch information
andrevidela authored Aug 16, 2023
2 parents badf1e9 + bdb6531 commit 86c53e6
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 86c53e6

Please sign in to comment.