@@ -741,9 +741,6 @@ processTactic t ps
741741 = case holes ps of
742742 [] -> fail "Nothing to fill in."
743743 (h:_) -> do ps' <- execStateT (process t h) ps
744− let pterm' = case solved ps' of
745− Just s -> updateSolved [s] (pterm ps')
746− _ -> pterm ps'
747744 let (ns', probs')
748745 = case solved ps' of
749746 Just s -> updateProblems (context ps')
@@ -753,7 +750,7 @@ processTactic t ps
753750 _ -> ([], problems ps')
754751 -- rechecking problems may find more solutions, so
755752 -- apply them here
756− let pterm'' = updateSolved ns' pterm'
753+ let pterm'' = updateSolved ns' (pterm ps')
757754 return (ps' { pterm = pterm'',
758755 solved = Nothing,
759756 problems = probs',