Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
5db98d80
by Simon Hengel at 2025-10-02T18:43:53-04:00
1 changed file:
Changes:
| ... | ... | @@ -2778,7 +2778,7 @@ the appropriate component of the product, discarding the rest: |
| 2778 | 2778 | checkPatOf3 (_, _, p) = p -- interpret as a pattern
|
| 2779 | 2779 | |
| 2780 | 2780 | We can easily define ambiguities between arbitrary subsets of interpretations.
|
| 2781 | -For example, when we know ahead of type that only an expression or a command is
|
|
| 2781 | +For example, when we know ahead of time that only an expression or a command is
|
|
| 2782 | 2782 | possible, but not a pattern, we can use a smaller type:
|
| 2783 | 2783 | |
| 2784 | 2784 | type ExpCmd = (PV (LHsExpr GhcPs), PV (LHsCmd GhcPs))
|