We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4397a7 commit 505ffd3Copy full SHA for 505ffd3
src/Data/Text.hs
@@ -1891,14 +1891,14 @@ isSubsequenceOf tf sf
1891
where
1892
subseqOf :: Text -> Text -> Bool
1893
subseqOf t s =
1894
- on f uncons s t
+ on f uncons t s
1895
1896
f :: Maybe (Char, Text) -> Maybe (Char, Text) -> Bool
1897
- f Nothing _ = True
1898
- f _ Nothing = False
1899
- f (Just (sc,ss)) (Just (tc,ts)) =
+ f _ Nothing = True
+ f Nothing _ = False
+ f (Just (tc,ts)) (Just (sc,ss)) =
1900
subseqOf ts $
1901
- if sc == tc
+ if tc == sc
1902
then s
1903
else ss
1904
0 commit comments