Skip to content

Commit d50f433

Browse files
Merge pull request #352 from Prillan/fix-lambdacase-typo
GHC-51179: fix typo in LambdaCase example
2 parents 91515ce + 312dcec commit d50f433

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The [Lambda Case extension](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/e
1010
enables a syntactic sugar for a lambda function that pattern matches its argument immediately.
1111
Using `LambdaCase`,
1212
```
13-
\case {"1" -> 1, "2" -> 2}
13+
\case {"1" -> 1; "2" -> 2}
1414
```
1515
is equivalent to
1616
```

0 commit comments

Comments
 (0)