Georgi Krastev

Results 411 comments of Georgi Krastev

This is even more surprising - I said to filter it: ```scala scala> Map(1 -> 2, 5 -> 6).withDefaultValue(3).filter((a, b) => a < 5).apply(99) val res0: Int = 3 ```

The problem is that `Map(1 -> 2, 5 -> 6).withDefaultValue(3).filter((a, b) => a < 5)` returns a `Map`, the type information about the default value is lost.

Maybe I misread your quote, I took it as a description of the status-quo.

Related: https://github.com/typelevel/kittens?tab=readme-ov-file#lift-examples

Sure, I'm not arguing against this PR - just pointing out one could use kittens in the meantime. Is there any difference between `f.liftN.tupled` and `f.tupledF` - i.e. do we...

Ah ok, the implementation is `Functor[F].map(t)(f.tupled)` which is the same as `t.map(f.tupled)` or `f.tupled.liftN`. Also related to `Functor.lift` which has no syntax though. It seems like too much hassle for...

Here is the log: https://github.com/typelevel/cats/actions/runs/8066611292/job/22035078228#step:13:7049 ``` ==> X cats.jvm.tests.FutureSuite.Future: coflatMap.coflatten throughMap 3.013s munit.FailException: Failing seed: _syITpm-TcruL5pZb_9QYj5RRgP3qQgh3LgMILjdKuM= You can reproduce this failure by adding the following override to your suite: override...

@thesamet this PR is ready

You are anyway bounded by the minumum of both parameters if you wait for the `queue.offer`: ```scala for { f f(outElem) .catchAllCause(cause => failure.update(_ && cause).unless(cause.isInterruptedOnly) *> errorSignal.succeed(()) *> ZChannel.failLeftUnit...

> I don't know if an unbounded queue is the best choice as we would lose the back-pressure semantics of ZStream. A variant of MVar maybe? Many stream operators transform...