Skip to content

Commit e36ca33

Browse files
committed
Make requested changes to PR
1 parent 836fd27 commit e36ca33

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
title: Expression syntax in pattern
3-
summary: There has been an attempt to pattern match on Expression syntax.
3+
summary: There has been an attempt to pattern match on expression syntax.
44
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 syntax of patterns is very similar to that of the expressions that create values, but many constructs that are allowed in expression contexts are not meaningful patterns.
9+
810
## Example Text
911

1012
```

message-index/messages/GHC-04584/matchingdots/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Using .. in pattern
33
---
44

5-
When pattern matching, Expressions are not allowed as patterns to be matched against. Instead, consider matching on a list, and using a conditional.
5+
When pattern matching, expressions are not allowed as patterns to be matched against. Instead, consider matching on a list, and using a conditional.
66

77

88
# Error Message

0 commit comments

Comments
 (0)