From 4734de9e0e7572ce401db94a195b512393ba4a92 Mon Sep 17 00:00:00 2001 From: Tom Kenny Date: Mon, 22 Jan 2024 20:13:33 +0800 Subject: Remove duplicated paragraph in Chap 3, Lesson 4 Was copied from previous lesson --- src/content/chapter3_data_types/lesson04_record_updates/text.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/content/chapter3_data_types/lesson04_record_updates/text.html b/src/content/chapter3_data_types/lesson04_record_updates/text.html index f23d7cd..4a5cd3a 100644 --- a/src/content/chapter3_data_types/lesson04_record_updates/text.html +++ b/src/content/chapter3_data_types/lesson04_record_updates/text.html @@ -2,10 +2,6 @@ The record update syntax can be used to create a new record from an existing one of the same type, but with some fields changed.

-

- The accessor syntax can only be used for fields that are in the same position - and have the same type for all variants of the custom type. -

Gleam is an immutable language, so using the record update syntax does not mutate or otherwise change the original record. -- cgit v1.2.3