dry-rb / dry-logic

Predicate logic with rule composition
https://dry-rb.org/gems/dry-logic/
MIT License
179 stars 66 forks source link

Fix truth table for implication in documentation #111

Closed Drenmi closed 4 months ago

Drenmi commented 4 months ago

What is this change?

The documentation for "implication" is incorrectly showing a truth table for "and". If the antecedent is false, the implication is true. I also added a note with an example explaining this.

Edit: Whoops. Looks like a duplicate of #109. 😅

flash-gordon commented 4 months ago

Thanks, I merged the other PR