diff --git a/hledger-lib/test/doctests.hs b/hledger-lib/test/doctests.hs index cd06ca474..784a0b6c5 100644 --- a/hledger-lib/test/doctests.hs +++ b/hledger-lib/test/doctests.hs @@ -33,7 +33,7 @@ main = do pats = filter (not . ("-" `isPrefixOf`)) args -- find source files - sourcefiles <- filter (not . isInfixOf "/.") <$> mconcat [ -- XXX build error with ghc 7.10 + sourcefiles <- (filter (not . isInfixOf "/.") . concat) <$> sequence [ glob "Hledger.hs" ,glob "Hledger/**/*.hs" ,glob "Text/**/*.hs"