@@ -102,14 +102,14 @@ solveLogic () givens _deriveds wanteds = do
102
102
, Just (n2, [x]) <- splitTyConApp_maybe nx, hasKey n2 notKey
103
103
-> do
104
104
wantedEvidence <- newWanted (ctLoc ct) $ mkTyConApp eqPrimTyCon [liftedTypeKind,liftedTypeKind,x,y]
105
- io $ putStrLn $ " not-not: " ++ pp nnx ++ " ~ " ++ pp y ++ " if " ++ pp x ++ " ~ " ++ pp y
105
+ -- io $ putStrLn $ "not-not: " ++ pp nnx ++ " ~ " ++ pp y ++ " if " ++ pp x ++ " ~ " ++ pp y
106
106
pure ([(evByFiat " not-not" nnx y, ct)],[mkNonCanonical wantedEvidence])
107
107
EqPred NomEq y nnx
108
108
| Just (n1, [nx]) <- splitTyConApp_maybe nnx, hasKey n1 notKey
109
109
, Just (n2, [x]) <- splitTyConApp_maybe nx, hasKey n2 notKey
110
110
-> do
111
111
wantedEvidence <- newWanted (ctLoc ct) $ mkTyConApp eqPrimTyCon [liftedTypeKind,liftedTypeKind,x,y]
112
- io $ putStrLn $ " not-not: " ++ pp y ++ " ~ " ++ pp nnx ++ " if " ++ pp x ++ " ~ " ++ pp y
112
+ -- io $ putStrLn $ "not-not: " ++ pp y ++ " ~ " ++ pp nnx ++ " if " ++ pp x ++ " ~ " ++ pp y
113
113
pure ([(evByFiat " not-not" nnx y, ct)],[mkNonCanonical wantedEvidence])
114
114
EqPred NomEq nx y
115
115
| Just (n1, [x]) <- splitTyConApp_maybe nx, hasKey n1 notKey
@@ -131,7 +131,7 @@ solveLogic () givens _deriveds wanteds = do
131
131
(ctLoc ct)
132
132
(mkTyConApp eqPrimTyCon [liftedTypeKind,liftedTypeKind,nnx,x])
133
133
(runEvExpr $ evByFiat " not-not-ish" nnx x)
134
- io $ putStrLn $ " not-notish: " ++ pp nnx ++ " ~# " ++ pp x
134
+ -- io $ putStrLn $ "not-notish: " ++ pp nnx ++ " ~# " ++ pp x
135
135
pure ([] ,[mkNonCanonical givenEvidence])
136
136
EqPred n x y -> do
137
137
-- io $ putStrLn $ "I think " ++ pp n ++ " " ++ pp x ++ pp y ++ " is none of my business"
@@ -141,7 +141,7 @@ solveLogic () givens _deriveds wanteds = do
141
141
, Just (n1, [nx]) <- splitTyConApp_maybe nnx, hasKey n1 notKey
142
142
, Just (n2, [x]) <- splitTyConApp_maybe nx, hasKey n2 notKey
143
143
-> do
144
- io $ putStrLn $ " Ooh ooh ooh: " ++ show (pp c, pp x, pp y)
144
+ -- io $ putStrLn $ "Ooh ooh ooh: " ++ show (pp c, pp x, pp y)
145
145
wantedEvidence <- newWanted (ctLoc ct) $ mkTyConApp eqPrimTyCon [liftedTypeKind,liftedTypeKind,x,y]
146
146
147
147
0 commit comments