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

Skip to content

Conversation

@kazchimo
Copy link
Contributor

No description provided.

Remove unnecessary parentheses

Implement hex char gens

Implement DigitInstances

Implement NetInstances

Add types package

Implement CharInstances

Implement NumericInstances

Implement StringInstances

Implement string DeriveGens

Implement TimeInstances

Fix range
@kazchimo kazchimo marked this pull request as ready for review May 23, 2021 04:41
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.

Looks great! Just a couple of minor comments.

*/
def filterNot(f: A => Boolean): Gen[R, A] =
filter(a => !(f(a)))
filter(a => !f(a))
Copy link
Contributor

Choose a reason for hiding this comment

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

Stray change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Minor refactoring.
Shouldn't I commit this change in this PR?

Copy link
Contributor

Choose a reason for hiding this comment

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

No need to add additional parentheses to code that is already compiling.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I removed unnecessary parentheses.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

def fromIterable[R, A](
as: Iterable[A],
shrinker: (A => ZStream[R, Nothing, A]) = defaultShrinker
shrinker: A => ZStream[R, Nothing, A] = defaultShrinker
Copy link
Contributor

Choose a reason for hiding this comment

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

Stray change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Minor refactoring.
Shouldn't I commit this change in this PR?

@kazchimo kazchimo requested a review from adamgfraser May 26, 2021 01:52
@adamgfraser adamgfraser merged commit e40ccde into zio:master May 26, 2021
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.

2 participants