Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Cedd Burge <[email protected]>
  • Loading branch information
jiegillet and ceddlyburge authored Nov 8, 2023
1 parent 8b49c1f commit 654bc1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 `_`.
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!

0 comments on commit 654bc1b

Please sign in to comment.