@@ -163,7 +163,7 @@ unify ctxt env topx topy injtc holes =
163 unArgs uf argsx argsy
163 unArgs uf argsx argsy
164 else unifyTmpFail appx appy
164 else unifyTmpFail appx appy
165 where hnormalise [] _ _ t = t
165 where hnormalise [] _ _ t = t
166− hnormalise ns ctxt env t = normalise ctxt env t
166+ hnormalise ns ctxt env t = hnf ctxt env t
167 checkHeads (P (DCon _ _) x _) (P (DCon _ _) y _)
167 checkHeads (P (DCon _ _) x _) (P (DCon _ _) y _)
168 | x /= y = unifyFail appx appy
168 | x /= y = unifyFail appx appy
169 checkHeads (P (TCon _ _) x _) (P (TCon _ _) y _)
169 checkHeads (P (TCon _ _) x _) (P (TCon _ _) y _)