packages feed

apply-refact-0.8.1.0: tests/examples/ListRec0.hs.refact

[("tests/examples/ListRec0.hs:1:1-37: Suggestion: Use foldr\nFound:\n  f (x : xs) = negate x + f xs\n  f [] = 0\nPerhaps:\n  f xs = foldr ((+) . negate) 0 xs\n",[Replace {rtype = Decl, pos = SrcSpan {startLine = 1, startCol = 1, endLine = 1, endCol = 38}, subts = [], orig = "f xs = foldr ((+) . negate) 0 xs"}])]