Diego Alonso

Results 69 comments of Diego Alonso

@danicheg Looking at the benchmark code, is that the right use of the `rechunkRandomlyWithSeed` method of `Stream`? It seems that, if both values are equal, it is just going to...

> so discarding the fluctuation, we have the same results. And I'm still sure that playing with arguments of that function could change something in the benchmark's numbers. So, in...

@Jasper-M Good morning. Thanks for reaching out. I am sorry that we have not taken a look at this for a while. Regarding the issue, I think that it is...

@armanbilge That is a good question that is not documented. Here is a vague guess, that I would like @SystemFw or @mpilquist to confirm:L Stream subsumes Resource. The time a...

It's similar, but @kamilkloch commit is more focused.

@kamilkloch I remembered that the `evalMap` could not be directly written to an `unconsFlatMap`. There are some differences between the `flatMap` and the `unconsFlatMap`, related to how the latter treats...

@danicheg So, if we are to have classes with `null` fields, then at least we should contain that nullability. Thus, we should make `State` into a normal class and add...

@armanbilge If you fix PR, happy to merge it if you still think it of use.

@nikiforo Some small minimisations: the `.repeat` of the background process is not needed. This seems correct, since the first failure should cut the execution. Furthermore, the first part of the...

@armanbilge Here is the modified code: ```Scala object err extends IllegalArgumentException("TheException") with NoStackTrace val bullet: Stream[IO, Unit] = Stream.raiseError[IO](err) def handler(ex: Throwable) = Stream.exec(IO.println(s"Caught TheException")) def run: IO[Unit] = {...