Test.DocTest.Internal.Util
convertDosLineEndings :: String -> String Source #
takeWhileEnd :: (a -> Bool) -> [a] -> [a] Source #
Return the longest suffix of elements that satisfy a given predicate.
stripEnd :: String -> String Source #
Remove trailing white space from a string.
>>> stripEnd "foo " "foo"
>>>
stripEnd "foo "