@@ -422,7 +422,6 @@ apply' fillt fn imps =
422 do args <- prepare_apply fn (map fst imps)
422 do args <- prepare_apply fn (map fst imps)
423 env <- get_env
423 env <- get_env
424 g <- goal
424 g <- goal
425− fillt (raw_apply fn (map Var args))
426 -- _Don't_ solve the arguments we're specifying by hand.
425 -- _Don't_ solve the arguments we're specifying by hand.
427 -- (remove from unified list before calling end_unify)
426 -- (remove from unified list before calling end_unify)
428 -- HMMM: Actually, if we get it wrong, the typechecker will complain!
427 -- HMMM: Actually, if we get it wrong, the typechecker will complain!
@@ -442,6 +441,7 @@ apply' fillt fn imps =
442 keepGiven dont hunis hs
441 keepGiven dont hunis hs
443 put (ES (p { dontunify = dont, unified = (n, unify),
442 put (ES (p { dontunify = dont, unified = (n, unify),
444 notunified = notunify ++ notunified p }, a) s prev)
443 notunified = notunify ++ notunified p }, a) s prev)
444+ fillt (raw_apply fn (map Var args))
445 ptm <- get_term
445 ptm <- get_term
446 g <- goal
446 g <- goal
447-- trace ("Goal " ++ show g ++ "\n" ++ show (fn, imps, unify) ++ "\n" ++ show ptm) $
447-- trace ("Goal " ++ show g ++ "\n" ++ show (fn, imps, unify) ++ "\n" ++ show ptm) $