Replace {rtype = Expr, pos = SrcSpan {startLine = 1, startCol = 5, endLine = 1, endCol = 23}, subts = [("x",SrcSpan {startLine = 1, startCol = 6, endLine = 1, endCol = 12}),("op",SrcSpan {startLine = 1, startCol = 13, endLine = 1, endCol = 19}),("y",SrcSpan {startLine = 1, startCol = 21, endLine = 1, endCol = 23})], orig = "x op y"}]
For
x = (Just 3 `elem`) [], it should resultx = Just 3 `elem` [], but now gotx = Just 3 elem [].Here is the substitute param from HLS:
GHC version: 8.10.7
apply-refact: 0.9.3.0