Skip to content

Commit c125654

Browse files
committed
Make requested changes
1 parent 04c8a4f commit c125654

File tree

1 file changed

+1
-1
lines changed
  • message-index/messages/GHC-78892

1 file changed

+1
-1
lines changed

message-index/messages/GHC-78892/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ severity: error
55
introduced: 9.6.1
66
---
77

8-
Pattern matching allows constructors and literals to be used to take apart values, exposing their contents. The `let ... in ...` syntax is used to introduce declarations that are scoped to an expression. See [GHC-04584](https://errors.haskell.org/messages/GHC-78892/) for more information on why expressions aren't permitted in pattern matching.
8+
Pattern matching allows constructors and literals to be used to take apart values, exposing their contents. Even though patterns resemble expressions, they are not evaluated. The `let ... in ...` syntax is used to introduce declarations that are scoped to an expression, which doesn't make sense as a pattern without evaluation. See [GHC-04584](https://errors.haskell.org/messages/GHC-78892/) for more information on why expressions aren't permitted in pattern matching.
99

1010
## Example Text
1111
```

0 commit comments

Comments
 (0)