shithub: MicroHs

Download patch

ref: 7ecb904aae1578af2785fccdb6565a674b5b678e
parent: e6cdd434d5fd9d08373f36d27d45101ec099e3cb
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Thu Feb 22 08:43:06 EST 2024

Add a comment.

--- a/src/MicroHs/TypeCheck.hs
+++ b/src/MicroHs/TypeCheck.hs
@@ -2458,6 +2458,7 @@
 -- Examine each goal, either solve it (possibly producing new goals) or let it remain unsolved.
 solveMany :: [Goal] -> [UGoal] -> [Soln] -> [Improve] -> T ([UGoal], [Soln], [Improve])
 solveMany [] uns sol imp = return (uns, sol, imp)
+-- Need to handle ct of the form C => T, and forall a . T
 solveMany (cns@(di, ct) : cnss) uns sol imp = do
 --  traceM ("trying " ++ showEType ct)
   let loc = getSLoc di
--