Skip to content

Commit

Permalink
Merge pull request #26 from eliascarv/operators
Browse files Browse the repository at this point in the history
Refator: operators
  • Loading branch information
eliascarv authored Feb 5, 2023
2 parents 1cf1a10 + c23e149 commit f504797
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 f504797

Please sign in to comment.