[GHC] #13478: Data.List.NonEmpty.{unfold,unfoldr} differences

GHC ghc-devs at haskell.org
Tue Apr 4 20:15:37 UTC 2017


#13478: Data.List.NonEmpty.{unfold,unfoldr} differences
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  libraries/base    |              Version:  8.0.1
      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 ekmett):

 We can deprecate it in one release and remove it in the next and comply
 with the three release policy just fine. The other combinator already
 exists, and you can write code that is backwards compatible for 3 releases
 just by using whichever one we don't deprecate.

 Heck, the three release policy would be satisfied with just outright
 removing one with no deprecation period at all, so its more just a
 courtesy than anything to deprecate.

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


More information about the ghc-tickets mailing list