On Mon, Oct 13, 2014 at 10:34 PM, Niklas Hambüchen <mail@nh2.me> wrote:
* isSubsequenceOf (dual of subsequences)
+1
Suggested haddock to assist usage:
Every infix of str is also a subsequence of str, but the converse doesn't generally hold. E.g. "ac" `isSubsequenceOf` "abc" is True, but "ac" `isInfixOf` "abc" is False.
As negative examples, neither "ba" nor "bca" isSubsequenceOf "abc".