Skip to content

Commit

Permalink
Add type signature
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaanb committed Feb 15, 2016
1 parent 16f0909 commit 914cda2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GHC/TypeLits/Normalise/Unify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ unifiers' ct (S ps1) (S ps2)
| otherwise = ps2'
psx = intersect ps1 ps2

unifiers'' :: Ct -> CoreSOP -> CoreSOP -> CoreUnify Ct
unifiers'' ct (S [P [I i],P [V v]]) s2
| isGiven (ctEvidence ct) = [SubstItem v (mergeSOPAdd s2 (S [P [I (negate i)]])) ct]
unifiers'' ct s1 (S [P [I i],P [V v]])
Expand Down

0 comments on commit 914cda2

Please sign in to comment.