Skip to content

Commit

Permalink
Refator: operators
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv committed Feb 5, 2023
1 parent 1cf1a10 commit c23e149
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/operators.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
(-->)(x::Bool, y::Bool) = !x || y
(<-->)(x::Bool, y::Bool) = x y
(x::Bool, y::Bool) = x && y
(x::Bool, y::Bool) = x || y
¬(x::Bool) = !x

const (<-->) = (===)
const = &
const = |
const ¬ = !
const = (-->)
const = (-->)
const = (<-->)
Expand Down

0 comments on commit c23e149

Please sign in to comment.