@@ -31,7 +31,7 @@ unify ctxt env topx topy =
3131 case runStateT (un False [] topx topy) (UI 0 [] []) of
3232 OK (v, UI _ inj []) -> return (filter notTrivial v, inj, [])
3333-- Error e@(CantUnify False _ _ _ _ _) -> tfail e
34− res ->
34+ res ->
3535 let topxn = normalise ctxt env topx
3636 topyn = normalise ctxt env topy in
3737-- trace ("Unifying " ++ show (topx, topy) ++ "\n\n==>\n" ++ show (topxn, topyn) ++ "\n\n" ++ show res ++ "\n\n") $
@@ -129,7 +129,7 @@ unify ctxt env topx topy =
129129 sc 1
130130 combine bnames hf ha)
131131 where hnormalise [] _ _ t = t
132− hnormalise ns ctxt env t = hnf ctxt env t
132+ hnormalise ns ctxt env t = normalise ctxt env t
133133 checkHeads (P (DCon _ _) x _) (P (DCon _ _) y _)
134134 | x /= y = unifyFail appx appy
135135 checkHeads (P (TCon _ _) x _) (P (TCon _ _) y _)