@@ -76,9 +76,9 @@ elabRewrite elab ist fc substfn_in rule sc_in newg
7676 when (g == pred_tt) $ lift $ tfail (NoRewriting l r g)
7777 let pred = PLam fc rname fc Placeholder
7878 (delab ist pred_tt)
79− let rewrite = stripImpls $
80− addImplBound ist (map fstEnv env) (PApp fc (PRef fc [] substfn)
81− [pexp pred, pexp rule, pexp sc])
79+ let rewrite = addImplBound ist (map fstEnv env) (PApp fc (PRef fc [] substfn)
80+ [pexp (stripImpls pred),
81+ pexp (stripImpls rule), pexp sc])
8282-- trace ("LHS: " ++ show l ++ "\n" ++
8383-- "RHS: " ++ show r ++ "\n" ++
8484-- "REWRITE: " ++ show rewrite ++ "\n" ++