doctest 0.6.0.1 → 0.6.1
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- doctest.cabal +1/−1
- src/Parse.hs +1/−1
doctest.cabal view
@@ -1,5 +1,5 @@ name: doctest-version: 0.6.0.1+version: 0.6.1 synopsis: Test interactive Haskell examples description: The doctest program checks examples in source code comments. It is modeled after doctest for Python
src/Parse.hs view
@@ -41,7 +41,7 @@ -- | Extract all interactions from given Haddock documentation. parse :: String -> [Interaction]-parse input = go (lines input)+parse input = go (map (reverse . dropWhile ((==) '\r') . reverse) $ lines input) where isPrompt = isPrefixOf ">>>" . dropWhile isSpace isBlankLine = null . dropWhile isSpace