mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
docs: add another equivalence for the implication operator
the second equivalence, using a if-else expression, aligns much closer to how most humans think about implication, adding it might help some people :)
(cherry picked from commit 51151c2c28)
This commit is contained in:
parent
0877680b08
commit
a5deed32f7
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ All comparison operators are implemented in terms of `<`, and the following equi
|
|||
|
||||
## Logical implication
|
||||
|
||||
Equivalent to `!`*b1* `||` *b2*.
|
||||
Equivalent to `!`*b1* `||` *b2* (or `if` *b1* `then` *b2* `else true`)
|
||||
|
||||
[Logical implication]: #logical-implication
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue