
#11083: Documentation clarification for Data.List.isSubsequenceOf -------------------------------------+------------------------------------- Reporter: jura | Owner: Type: bug | Status: new Priority: lowest | Milestone: Component: Documentation | Version: 7.10.2 Keywords: Data.List, | Operating System: Unknown/Multiple isSubsequenceOf | Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- In order to clarify the difference between isInfixOf and isSubsequenceOf, I submit a patch which changes the wording from "The 'isSubsequenceOf' function takes two lists and returns 'True' if the first list is a subsequence of the second list." to "The 'isSubsequenceOf' function takes two lists and returns 'True' if all the elements of the first list occur, in order, in the second. The elements do not have to occur consecutively." -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11083 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler