[GHC] #9767: Add isSubsequenceOf to Data.List

GHC ghc-devs at haskell.org
Wed Nov 5 11:42:54 UTC 2014


#9767: Add isSubsequenceOf to Data.List
-------------------------------------+-------------------------------------
              Reporter:  bernalex    |            Owner:
                  Type:  feature     |           Status:  new
  request                            |        Milestone:  7.10.1
              Priority:  normal      |          Version:  7.8.3
             Component:              |         Keywords:
  libraries/base                     |     Architecture:  Unknown/Multiple
            Resolution:              |       Difficulty:  Easy (less than 1
      Operating System:              |  hour)
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"40b1ee4043fefdd19ff6614a63939002840c6d97/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="40b1ee4043fefdd19ff6614a63939002840c6d97"
 Add `isSubsequenceOf` to Data.List (#9767)

 Niklas Hambüchen suggested that we add the dual of `subsequences`,
 isSubsequenceOf (like `isPrefixOf` to `inits` & `isSuffixOf` to `tails`).
 It was a simple and noncontroversial proposal which passed unanimously.

 For more details see the original proposal discussion at
 https://www.haskell.org/pipermail/libraries/2014-November/024063.html

 Differential Revision: https://phabricator.haskell.org/D435

 Signed-off-by: Alexander Berntsen <alexander at plaimi.net>
 }}}

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


More information about the ghc-tickets mailing list