Proposal: Add functions to get consecutive elements to Data.List
Tobias Florek
haskell at ibotty.net
Wed Apr 13 08:21:36 UTC 2016
Hi!
I have no say in the matter. Having said that...
> -1. I think these are good functions, but I don't think base is the place
> for them. They just don't seem "fundamental" enough.
I do agree with you on that point, but because in it's `zip <*> tail`
form, it does not pass the Fairbairn threshold.
But given your optimization (which you won't inline when you need it),
I think it does.
Cheers,
Tobias Florek
More information about the Libraries
mailing list