[GHC] #9368: Add strictly accumulating scanl' to Data.List

GHC ghc-devs at haskell.org
Tue Oct 7 08:26:39 UTC 2014


#9368: Add strictly accumulating scanl' to Data.List
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:
                  Type:  feature     |           Status:  patch
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.8.3
             Component:  Core        |         Keywords:
  Libraries                          |     Architecture:  Unknown/Multiple
            Resolution:              |       Difficulty:  Easy (less than 1
      Operating System:              |  hour)
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:  #9345
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * cc: core-libraries-committee@… (added)


Comment:

 >  Note: this patch does not add scanl' to Data.List, but only to
 GHC.List. I don't know that I have enough community support as yet to add
 it publicly, but I want it for Data.List.inits, and it seems sensible (to
 me) to put it next to scanl.

 I don’t think there will be doubts about it. It has pretty obvious
 semantics, and it is clear that it’s nice to have it. If you make a
 proposal you will get affirmative silence and a +1 from me :-)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9368#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list