From 3044af68f6fd8750c2b6634ff0ec8ac3b6c8664b Mon Sep 17 00:00:00 2001 From: Bruce Eckel Date: Sat, 24 Jan 2026 10:34:51 -0700 Subject: [PATCH] Fix record type syntax from '=' to ':' Updated syntax for record type notation. --- src/records.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/records.md b/src/records.md index 88edce7..ae2f519 100644 --- a/src/records.md +++ b/src/records.md @@ -13,7 +13,7 @@ A record literal is written with curly braces: ``` which has the record type -`{ x = Int32, y = Int32 }`. +`{ x: Int32, y: Int32 }`. The order of labels in a record does not matter. Hence the above record is equivalent to: