[Git][ghc/ghc][wip/or-pats] Update Monad.hs
David (@knothed)
gitlab at gitlab.haskell.org
Fri Jun 9 14:42:33 UTC 2023
David pushed to branch wip/or-pats at Glasgow Haskell Compiler / GHC
Commits:
0ce8e9db by David at 2023-06-09T14:42:31+00:00
Update Monad.hs
- - - - -
1 changed file:
- compiler/GHC/HsToCore/Monad.hs
Changes:
=====================================
compiler/GHC/HsToCore/Monad.hs
=====================================
@@ -154,6 +154,7 @@ instance Outputable DsMatchContext where
data EquationInfo = EqnMatch (Pat GhcTc) Origin EquationInfo | EqnDone (MatchResult CoreExpr)
+mkEqnInfo :: [Pat GhcTc] -> Origin -> MatchResult CoreExpr -> EquationInfo
mkEqnInfo [] _ rhs = EqnDone rhs
mkEqnInfo (pat:pats) orig rhs = EqnMatch pat orig (mkEqnInfo pats orig rhs)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0ce8e9db366a28464869e6f1351015f2f3b1cce3
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0ce8e9db366a28464869e6f1351015f2f3b1cce3
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230609/def43937/attachment.html>
More information about the ghc-commits
mailing list