@@ -110,7 +110,7 @@ takeWhile w s =
110110
111111takeWhile1 :: Char -> L.Text -> Property
112112takeWhile1 w s =
113− let s' = L.cons w s
113+ let s' = L.cons w s
114114 (h,t) = L.span (<=w) s'
115115 in case PL.parse (P.takeWhile1 (<=w)) s' of
116116 PL.Done t' h' -> t === t' .&&. toStrict h === h'
@@ -143,15 +143,15 @@ scan :: L.Text -> Positive Int64 -> Property
143143scan s (Positive k) = parseT p s === Just (toStrict $ L.take k s)
144144 where p = P.scan k $ \ n _ ->
145145 if n > 0 then let !n' = n - 1 in Just n' else Nothing
146−
146+
147147members :: String -> Property
148148members s = property $ all (`S.member` set) s
149149 where set = S.fromList s
150−
150+
151151nonmembers :: String -> String -> Property
152152nonmembers s s' = property . not . any (`S.member` set) $ filter (not . (`elem` s)) s'
153153 where set = S.fromList s
154−
154+
155155tests :: [Test]
156156tests = [
157157 testProperty "anyChar" anyChar