;spelling fix

[ci skip]
This commit is contained in:
Simon Michael 2020-01-04 17:37:55 -08:00
parent 228edf6ba6
commit ce5eccfbc0

View File

@ -77,7 +77,7 @@ rstrip = reverse . lstrip . reverse
chomp :: String -> String
chomp = reverse . dropWhile (`elem` "\r\n") . reverse
-- | Remove consequtive line breaks, replacing them with single space
-- | Remove consecutive line breaks, replacing them with single space
singleline :: String -> String
singleline = unwords . filter (/="") . (map strip) . lines