Commits

tibbe  committed ab92445

Minor Haddock fix for unlines

  • Participants
  • Parent commits 944f66d

Comments (0)

Files changed (1)

File Data/Text.hs

     where (h,t) = spanBy (/= '\n') ps
 {-# INLINE lines #-}
 
+{-
 -- | /O(n)/ Portably breaks a 'Text' up into a list of 'Text's at line
 -- boundaries.
 --
 -- return immediately followed by a line feed, or a carriage return.
 -- This accounts for both Unix and Windows line ending conventions,
 -- and for the old convention used on Mac OS 9 and earlier.
-{-
 lines' :: Text -> [Text]
 lines' ps | null ps   = []
           | otherwise = h : case uncons t of