Adam Fraser
Adam Fraser
Following up on a conversation @sideeffffect and I had today, I think one encoding of this we could explore is: ```scala package zio.prelude trait Semiring[A] { def add(a1: A, a2:...
@sideeffffect Did you get a chance to explore this more? Do you want me to try to flesh it out?
@sideeffffect I'm good with merging this into the `experimental` package. Can we move everything in there? Looks like there is still some stuff in `core`.
Okay. Let me look in more detail. My concern is more about overall increase in complexity of the hierarchy for core functional abstractions by adding new ones that I think...
I don't think we can add `collect`. `ForEach` allows us to transform each value in the structure (or tear it down entirely) but if we return the structure it has...
Totally agree. So far I have tried to be a fast follower and just add combinators very quickly when anyone needs them but could be worth a more comprehensive effort...
@aappddeevv Just added `someOrFail` in #108. `ensuring` will take a little more work since I think that will require changes to the underlying representation but will work on that. If...
@voidconductor Will add!
@mikaelstaldal Will add!
Definitely something we could support but I don't think there has been any work on it. PRs welcome!