[Git][ghc/ghc][wip/T17521] Fix doc
Jaro Reinders (@Noughtmare)
gitlab at gitlab.haskell.org
Tue Jul 11 12:25:56 UTC 2023
Jaro Reinders pushed to branch wip/T17521 at Glasgow Haskell Compiler / GHC
Commits:
42b140fa by Jaro Reinders at 2023-07-11T14:25:48+02:00
Fix doc
- - - - -
1 changed file:
- compiler/GHC/Core/Utils.hs
Changes:
=====================================
compiler/GHC/Core/Utils.hs
=====================================
@@ -2029,8 +2029,8 @@ exprIsTopLevelBindable expr ty
exprIsTickedString :: CoreExpr -> Bool
exprIsTickedString = isJust . exprIsTickedString_maybe
--- | Check if the expression is trivial or a constructor application and
--- continue checking all arguments of that constructor recursively.
+-- | Check if the expression is a constructor worker application to arguments
+-- which are either trivial or themselves constructor worker applications, etc.
exprIsNestedTrivialConApp :: CoreExpr -> Bool
exprIsNestedTrivialConApp x
| (Var v, xs) <- collectArgs x
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/42b140fa8c32cb355217116230300a9de274c3b0
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/42b140fa8c32cb355217116230300a9de274c3b0
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/20230711/c3014088/attachment.html>
More information about the ghc-commits
mailing list