Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adamgfraser
Copy link
Contributor

Resolves #1586.

We still need to do more work regarding reporting of composed assertions but I think that is better addressed in a separate PR focused exclusively on that.

* A named alias for "==>".
*/
final def implies[A1 >: A](that: BoolAlgebra[A1]): BoolAlgebra[A1] =
!self || that
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. 😄

Copy link
Member

@jdegoes jdegoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple but useful and highly principled addition. 👍

@jdegoes jdegoes merged commit 619c7fe into zio:master Sep 13, 2019
@adamgfraser adamgfraser deleted the implication branch September 13, 2019 03:50
@regiskuckaertz
Copy link
Member

Merci 🙏

fsvehla pushed a commit to fsvehla/zio that referenced this pull request Sep 21, 2019
* implement implies

* fix reporting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ZIO Test: Add Support for Implications

3 participants