on master help sign in
Minor Haddock fix for unlines

--HG-- extra : convert_revision : 28c39221d2e6cf563e1a0fe6c20bccd8805ca4a3

commit6bf5915de94b229d8af009efc9d9f3eb508aebda authorJohan Tibell <johan.tibell@gmail.com> dateFri 9 Oct 2009, 10:50 (17 years ago) parentabd5fab
1 file changed+1−1
Data/Text.hs+1−1
Data/Text.hs+1−1
@@ -1151,6 +1151,7 @@ lines ps | null ps = []
11511151 where (h,t) = spanBy (/= '\n') ps
11521152{-# INLINE lines #-}
11531153
1154+{-
11541155-- | /O(n)/ Portably breaks a 'Text' up into a list of 'Text's at line
11551156-- boundaries.
11561157--
@@ -1158,7 +1159,6 @@ lines ps | null ps = []
11581159-- return immediately followed by a line feed, or a carriage return.
11591160-- This accounts for both Unix and Windows line ending conventions,
11601161-- and for the old convention used on Mac OS 9 and earlier.
1161−{-
11621162lines' :: Text -> [Text]
11631163lines' ps | null ps = []
11641164 | otherwise = h : case uncons t of