@@ -276,7 +276,7 @@ mkPE_TermDecl :: IState
276276 -> [(PEArgType, Term)]
277277 -> PEDecl
278278mkPE_TermDecl ist newname sname specty ns
279− {- We need to erase the *dynamic* arguments
279+ {- We need to erase the *dynamic* arguments
280280 where their *name* appears in the *type* of a later argument
281281 in specty.
282282 i.e. if a later dynamic argument depends on an earlier dynamic
@@ -285,12 +285,12 @@ mkPE_TermDecl ist newname sname specty ns
285285 on the RHS.
286286 -}
287287 = let deps = getDepNames (eraseRet specty)
288− lhs = eraseDeps deps $
288+ lhs = eraseDeps deps $
289289 PApp emptyFC (PRef emptyFC [] newname) (mkp ns)
290290 rhs = eraseDeps deps $
291291 delab ist (mkApp (P Ref sname Erased) (map snd ns))
292292 patdef = -- trace (showTmImpls specty ++ "\n" ++ showTmImpls lhs ++ "\n"
293− -- ++ showTmImpls rhs) $
293+ -- ++ showTmImpls rhs) $
294294 lookupCtxtExact sname (idris_patdefs ist)
295295 newpats = case patdef of
296296 Nothing -> PEDecl lhs rhs [(lhs, rhs)] True
@@ -305,7 +305,7 @@ mkPE_TermDecl ist newname sname specty ns
305305
306306 -- Get names used in later arguments; assume we've called eraseRet so there's
307307 -- no names going to appear in return type
308− getDepNames (PPi _ n _ _ sc)
308+ getDepNames (PPi _ n _ _ sc)
309309 | n `elem` allNamesIn sc = n : getDepNames sc
310310 | otherwise = getDepNames sc
311311 getDepNames tm = []
@@ -337,7 +337,7 @@ getSpecApps ist env tm = ga env (explicitNames tm) where
337337 | Just n <- imparg imp = (ImplicitS n, tm)
338338 | constrarg imp = (ConstraintS, tm)
339339 | otherwise = (ExplicitS, tm)
340−
340+
341341 staticArg env False imp tm n
342342 | Just nm <- imparg imp = (ImplicitD nm, (P Ref (sUN (show n ++ "arg")) Erased))
343343 | constrarg imp = (ConstraintD, tm)