Stéphane Le Dorze

Results 53 comments of Stéphane Le Dorze
trafficstars

About 1 and 2, is there a way to enforce this? About 3, I've made the tests and it works. I Maybe do a PR, but I'm not versed into...

I've seen `cancelable` IO are IOAsync which have the cancellation logic in their Context. On may use a constraint using the '_tag' value to enforce statically correct usage of the...

@alexandru Not found one actually..

Here's the issue: https://github.com/funfix/funfix/issues/138

@HIMISOCOOL f function taken as param of flatMap already does boxing. That's standard FP behavior. The result of both functions map and flatMap are an Option.

@gcanti oh! you want to make it faster? I'm not an expert myself, last time I've checked and I found the benchmark tools were not very sophisticated. ( from https://nodejs.org/en/docs/guides/simple-profiling/)...

Note that from very early check, we may suffer from non Jitting (2/3 of the time is still doing Javascript and not C++ ): [Summary]: ticks total nonlib name 3209...

@gcanti I've been able to toy 30 mins on it: I went from 348k op/s to 473k op/s (by modifying the `io-ts` generated js lib by hand). Mostly this is...

`flatten chain` means roughly replacing: ```typescript valid.chain(x => { ... return xyz; }) ``` by ```typescript if (valid.isRight()) { const x = valid.value; ... return xyz; } else { return...