
#11815: Data.List: Add a function to get consecutive elements (mapConsecutives) -------------------------------------+------------------------------------- Reporter: holmisen | Owner: Type: feature request | Status: new Priority: low | Milestone: Component: libraries/base | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by holmisen): Replying to [comment:12 dfeuer]:
I'd like to see some numbers for the fusion-capable version in various contexts. Also, I'm not fully convinced that this particular function is of sufficient general utility to include in `Data.List`.
I have thought about compiling a list of use cases for this in a blog post or similar. Maybe now I'll actually get around to do that. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11815#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler