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

Skip to content

Conversation

@kubukoz
Copy link
Contributor

@kubukoz kubukoz commented Feb 10, 2021

No description provided.

@CLAassistant
Copy link

CLAassistant commented Feb 10, 2021

CLA assistant check
All committers have signed the CLA.

adamgfraser
adamgfraser previously approved these changes Feb 11, 2021
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.

@kubukoz Looks good! Not sure why the rest of the CI checks aren't running. Can you try merging upstream changes in case there were any changes to CI settings that aren't incorporated in your version.

@kubukoz
Copy link
Contributor Author

kubukoz commented Feb 11, 2021

Rebased to latest master, let's see ;)

@kubukoz
Copy link
Contributor Author

kubukoz commented Feb 12, 2021

Apparently... doesn't work

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.

Thank you!

Comment on lines +1827 to +1828
final def tapSome[R1 <: R, E1 >: E](f: PartialFunction[A, ZIO[R1, E1, Any]]): ZIO[R1, E1, A] =
self.tap(f.applyOrElse(_, (_: A) => ZIO.unit))
Copy link
Member

@mijicd mijicd Mar 3, 2021

Choose a reason for hiding this comment

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

Super nitpick, I'd use ZIO.unitFn.

@mijicd mijicd closed this Mar 3, 2021
@mijicd mijicd reopened this Mar 3, 2021
@adamgfraser adamgfraser merged commit 74ab2cc into zio:master Mar 4, 2021
@adamgfraser
Copy link
Contributor

@kubukoz Thank you for your contribution and sorry for the delay on getting this merged!

@kubukoz kubukoz deleted the tap-some branch March 17, 2021 14:49
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.

4 participants