[("tests/examples/Default26.hs:1:7-68: Warning: Use when\nFound:\n  if foo then\n      do stuff\n         moreStuff\n         lastOfTheStuff\n  else\n      return ()\nPerhaps:\n  Control.Monad.when foo\n    $ do stuff\n         moreStuff\n         lastOfTheStuff\n",[Replace {rtype = Expr, pos = SrcSpan {startLine = 1, startCol = 7, endLine = 1, endCol = 69}, subts = [("x",SrcSpan {startLine = 1, startCol = 10, endLine = 1, endCol = 13}),("y",SrcSpan {startLine = 1, startCol = 19, endLine = 1, endCol = 54})], orig = "Control.Monad.when x $ y"}])]