diff --git a/src/content/chapter3_data_types/lesson04_record_pattern_matching/en.html b/src/content/chapter3_data_types/lesson04_record_pattern_matching/en.html index 3c09080..6cb3abe 100644 --- a/src/content/chapter3_data_types/lesson04_record_pattern_matching/en.html +++ b/src/content/chapter3_data_types/lesson04_record_pattern_matching/en.html @@ -1,12 +1,12 @@

- It is possible to pattern match on a record, this allows for the extraction + It is possible to pattern match on a record, this allows for the extraction of multiple field values from a record into distinct variables, similar to matching on a tuple or a list.

- The let key word can only match on single variant custom types. For types with more variants + The let keyword can only match on single variant custom types. For types with more variants a case expression must be used.

- It is possible to use underscore _ or the spread syntax .. to + It is possible to use underscore _ or the spread syntax .. to discard fields that are not required. -

+

\ No newline at end of file