We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78debad commit 371fba9Copy full SHA for 371fba9
src/Infer.hs
@@ -341,8 +341,8 @@ ti kctx ictx ctx env e@(In n t)
341
let m = fromInteger n
342
foldr mplus (throwError(strMsg $ show e ++ " has incorrect number")) $ do
343
-- list monad (trying all combinations of Right and Left)
344
- mis <- sequence $ replicate m [ Right . Var <$> freshTyName' "a"
345
- , Left . Var <$> fresh "i" ]
+ mis <- sequence $ replicate m [ Right . Var <$> fresh "k"
+ , Left . Var <$> freshTyName' "i" ]
346
return $ do -- fresh monad
347
is <- sequence mis
348
ty1 <- Var <$> freshTyName' "t"
0 commit comments