Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paf31 committed Feb 11, 2015
1 parent c9932ea commit 55388ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/PureScript/TypeChecker/Entailment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ entails env moduleName context = solve (sortedNubBy canonicalizeDictionary (filt
typeHeadsAreEqual :: ModuleName -> Environment -> Type -> Type -> Maybe [(String, Type)]
typeHeadsAreEqual _ _ (Skolem _ s1 _) (Skolem _ s2 _) | s1 == s2 = Just []
typeHeadsAreEqual _ _ t (TypeVar v) = Just [(v, t)]
-- In this case, we want might want type information to flow back to the typechecker.
-- In this case, we might want type information to flow back to the typechecker.
-- TODO: run this function in the UnifyT monad.
typeHeadsAreEqual _ _ (TUnknown _) _ = Just []
typeHeadsAreEqual _ _ (TypeConstructor c1) (TypeConstructor c2) | c1 == c2 = Just []
Expand Down

0 comments on commit 55388ba

Please sign in to comment.