Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#9767 closed feature request (fixed)

Add isSubsequenceOf to Data.List

Reported by: bernalex Owned by:
Priority: normal Milestone: 7.10.1
Component: libraries/base Version: 7.8.3
Keywords: report-impact Cc: hvr, ekmett
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

Niklas Hambüchen suggested that we add the dual of subsequences, isSubsequenceOf (like isPrefixOf to inits & isSuffixOf to tails)[1]. It was a simple and noncontroversial proposal which received unanimous +1s.

[1]

https://www.haskell.org/pipermail/libraries/2014-November/024063.html

Change History (3)

comment:1 Changed 4 years ago by Herbert Valerio Riedel <hvr@…>

In 40b1ee4043fefdd19ff6614a63939002840c6d97/ghc:

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@plaimi.net>

comment:2 Changed 4 years ago by thomie

Resolution: fixed
Status: newclosed

comment:3 Changed 4 years ago by hvr

Keywords: report-impact added
Note: See TracTickets for help on using tickets.