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

Skip to content

Conversation

@simpadjo
Copy link
Contributor

@simpadjo simpadjo commented May 2, 2020

  1. Added Chunk[A] => Option[NonEmptyChunk[A]] constructor
  2. Expand visibility of unsafe NonEmptyChunk.nonEmpty constructor to zio package
  3. Tiny refactoring using (1)

@simpadjo simpadjo requested a review from iravid as a code owner May 2, 2020 21:14
Copy link
Member

@iravid iravid left a comment

Choose a reason for hiding this comment

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

Looks good! More static guarantees 💪🏻

@iravid iravid merged commit 338d2e1 into zio:master May 4, 2020
luis3m pushed a commit to luis3m/zio that referenced this pull request May 4, 2020
* Add `NonEmptyChunk.fromChunk`, increase visibility of `NonEmptyChunk` unsafe constructor

* small refactoring
@simpadjo simpadjo deleted the nonemptychunk branch May 17, 2020 17:22
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