David Feuer
David Feuer
I'm not really a fan of these closure-avoidance functions. I'd much rather see if we can get good performance from friendlier APIs. On Sun, Jun 27, 2021, 6:05 PM Neo...
What I have wanted for ages is something more like insyboggle :: Ord k => v -> (v -> v) -> k -> Map k v -> Map k v...
Whether you use an arity of one or two, you're sometimes going to change the arity of what the user passes/wants to pass. How do you decide which is more...
This is a bit of a work in progress, and definitely not something to merge in a minor version. But I think the general idea is right.
I thought this too. But I'm not sure it actually makes much sense. You'd have to measure CPU time separately for each operation. I don't know that it has a...
Why only the left fold? On Sat, Aug 14, 2021, 10:46 AM Andrew Martin ***@***.***> wrote: > The type would be: > > foldlWithKeyM :: Monad m => (a ->...
I think that's best, since the containers are mostly quite symmetrical. On Sun, Aug 15, 2021, 8:05 AM Andrew Martin ***@***.***> wrote: > I could add the right variant as...
Yes, please! I was already thinking about doing that. But please show benchmark results to make sure the performance impact is tolerable. On Jan 11, 2018 12:37 PM, "Daniel Winograd-Cort"...
In general, the way to get things added to `containers` is to start by sending a proposal to [email protected]. The only real exception I know of is if you're looking...
It's my personal view that these functions _are_ worth adding, but I agree with @foxik that the matter should be raised on the libraries list.