[("tests/examples/RedundantDo.hs:(2,3)-(4,16): Suggestion: Use if\nFound:\n case x of\n True -> foo\n False -> foo\nPerhaps:\n (if x then foo else foo)\n",[Replace {rtype = Expr, pos = SrcSpan {startLine = 2, startCol = 3, endLine = 4, endCol = 17}, subts = [("a",SrcSpan {startLine = 2, startCol = 8, endLine = 2, endCol = 9}),("f",SrcSpan {startLine = 4, startCol = 14, endLine = 4, endCol = 17}),("t",SrcSpan {startLine = 3, startCol = 13, endLine = 3, endCol = 16})], orig = "if a then t else f"}])]