Georgi Krastev
Georgi Krastev
I don't think both can work, but maybe it's better to not regenerate because you can move the filter around. Anyway, I propose a solution in #9378
> A PR that adds backpressure (disabled by default) will be accepted. Where can we configure it? I can't find a good place.
I added it as a parameter to `ZChannel`: https://github.com/scalapb/zio-grpc/pull/636 If you tell me how to call the setting, I could also make it a property.
In my PR I just added a constructor parameter to `ZChannel` - should I convert it to a property and if so how should we call it?
Or do you mean that I should reuse `backpressure_queue_size` for the client?
How would this work nondeterministically? `LazyList.iterate(0)(_ + 1)` is infinite so you can't pick a random element uniformly. See `Gen.elements` which would try to compute the length of the iterable....
> You're right.. We are now avoiding the infinite iterable problem by materializing to a vector You can't meterialize an infinite lazy list to a vector
@adtruiz I already have a PR - https://github.com/zio/zio/pull/9378 Better to wait for a review first.
> Fascinatingly, this is a thing that has a bit of nuance. For example, if you have a functional OrderedSet implementation, you wouldn't collect any constraints at creation and instead...
I'm thinking of a type class: ```scala trait FunctorK[T[_[_]]] { def mapK[F[_]: Functor, G[_]](tf: T[F])(fk: F ~> G): T[G] } ``` because I need it for higher-kinded data but I...