We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b476e6 commit 7ad3d63Copy full SHA for 7ad3d63
1 file changed
brat/Brat/Checker/SolvePatterns.hs
@@ -98,10 +98,6 @@ solve my ((src, PCon c abs):p) = do
98
ty <- typeOfSrc my src
99
mine <- mineToSolve
100
case (my, ty) of
101
- -- TODO: When solving constructors, we need to provide actual wiring to get
102
- -- from the fully applied constructor to the bound pattern variables.
103
- -- E.g. for cons(x, xs), we need to actually take apart a Vec to get the x
104
- -- and xs to put in the environment
105
(Kerny, ty) -> solveConstructor Kerny src (c, abs) ty p
106
(Braty, Right ty) -> solveConstructor Braty src (c, abs) ty p
107
(Braty, Left Nat) -> case c of
0 commit comments