-
-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Cedd Burge <[email protected]>
- Loading branch information
1 parent
8b49c1f
commit 654bc1b
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
analyzer-comments/elm/ticket-please/assignTicketTo_ignore_cases.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# assignTicketTo ignore cases | ||
|
||
When there are several `case` patterns that lead to the same value, like it is the case for the ticket statuses in `assignTicketTo`, it is usual to leave them for last and group them with the wildcard `_`. | ||
When there are several `case` patterns that lead to the same value, as happens for the ticket statuses in `assignTicketTo`, it is usual to leave them for last and group them with the wildcard `_`. |
2 changes: 1 addition & 1 deletion
2
analyzer-comments/elm/ticket-please/assignTicketTo_use_record_update.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# assignTicketTo use record update | ||
|
||
Once you pattern matched the record from `Ticket` and named it with `as`, the best way to update it is with the record update syntax. | ||
Once you pattern matched the record from `Ticket` and named it with `as`, the best way to update it is with the [record update syntax](https://elm-lang.org/docs/records#updating-records). | ||
Try it out! |