@@ -280,22 +280,22 @@ genAll i (addPH, args)
280280 nc' o = o
281281
282282 otherPats :: PTerm -> [PTerm]
283− otherPats o@(PRef fc hl n) = ph $ ops fc n [] o
284− otherPats o@(PApp _ (PRef fc hl n) xs) = ph $ ops fc n xs o
285− otherPats o@(PPair fc hls _ l r)
283+ otherPats (PRef fc hl n) = ph $ ops fc n []
284+ otherPats (PApp _ (PRef fc hl n) xs) = ph $ ops fc n xs
285+ otherPats (PPair fc hls _ l r)
286286 = ph $ ops fc pairCon
287287 ([pimp (sUN "A") Placeholder True,
288288 pimp (sUN "B") Placeholder True] ++
289− [pexp l, pexp r]) o
290− otherPats o@(PDPair fc hls p t _ v)
289+ [pexp l, pexp r])
290+ otherPats (PDPair fc hls p t _ v)
291291 = ph $ ops fc sigmaCon
292292 ([pimp (sUN "a") Placeholder True,
293293 pimp (sUN "P") Placeholder True] ++
294− [pexp t,pexp v]) o
294+ [pexp t,pexp v])
295295 otherPats o@(PConstant _ c) = ph [o, nextConst o]
296296 otherPats arg = return Placeholder
297297
298− ops fc n xs o
298+ ops fc n xs
299299 | (TyDecl c@(DCon _ arity _) ty : _) <- lookupDef n (tt_ctxt i)
300300 = do xs' <- mapM otherPats (map getExpTm xs)
301301 let p = resugar (PApp fc (PRef fc [] n) (zipWith upd xs' xs))
@@ -303,7 +303,7 @@ genAll i (addPH, args)
303303 case lookupCtxt tyn (idris_datatypes i) of
304304 (TI ns _ _ _ _ : _) -> p : map (mkPat fc) (ns \\ [n])
305305 _ -> [p]
306− ops fc n arg o = return Placeholder
306+ ops fc n arg = return Placeholder
307307
308308 getExpTm (PImp _ True _ _ _) = Placeholder -- machine inferred, no point!
309309 getExpTm t = getTm t