Michal Maršálek
Michal Maršálek
I like this very much. Recently while just playing around with something I did `data.sortedByIt(criterion it)[0]` (when I needed just `data.minByIt(criterion it)`) because I was lazy.
I think that generaly the motivation to implement it this way is that it doesn't break modular arithmetic. Meaning that if M divides (a-b) then a mod M == b...
> It'd be good to collect some more use cases here. > > The main objection from the design meeting was that once there are two different kinds of type...
> I think this could be added, but not as default. After all, we dont want `book` to become `b∞k`. I know nothing about how ligatures are implemented, but it...
Doesn't `[` collide with inline lists?
> It's simply not possible to refine a `Feature` to `Feature`, but various libraries (that existed before TypeScript) that only take `Feature` and all I have is a `Feature`. Naturally...
As I understand it, this issue is a subset of #42384. However while propagating the inference to the parent seems very complex to implement, being able to use a nested...