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

Skip to content

Conversation

@fokot
Copy link
Contributor

@fokot fokot commented Jun 23, 2020

I just found it useful to write

BoolAlgebra.all(
        assert(created)(isTrue),
        assert(deleted)(isTrue),
        assert(notDeleted)(isFalse)
)

And not to work with Iterable and Option

@CLAassistant
Copy link

CLAassistant commented Jun 23, 2020

CLA assistant check
All committers have signed the CLA.

adamgfraser
adamgfraser previously approved these changes Jun 24, 2020
Copy link
Contributor

@adamgfraser adamgfraser left a comment

Choose a reason for hiding this comment

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

This looks great. We could also do the same thing with any. I wonder if we should just move all of these methods to take a non-empty collection.

Copy link
Contributor Author

@fokot fokot left a comment

Choose a reason for hiding this comment

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

@adamgfraser I added any operator

@adamgfraser
Copy link
Contributor

@fokot Thanks! Can you merge upstream changes and sign the CLA?

@fokot
Copy link
Contributor Author

fokot commented Jun 30, 2020

Sure, can you @adamgfraser approve it so I can merge it?

@fokot fokot force-pushed the boolalgebra.all branch from 63af48f to 86b774c Compare July 7, 2020 21:06
@adamgfraser adamgfraser merged commit a7c4dad into zio:master Jul 16, 2020
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.

3 participants