Skip to content

Commit 62df3ae

Browse files
committed
Change mutable example in lesson 10.
1 parent 7d00271 commit 62df3ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/code-listings/lesson-10.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ let randomAgeCustomer = updateAge customer
5353
// Listing 10.9
5454
do
5555
let myHome = { Street = "The Street"; Town = "The Town"; City = "The City" }
56-
let myHome = { address with City = "The Other City" }
57-
let myHome = { address with City = "The Third City" }
56+
let myHome = { myHome with City = "The Other City" }
57+
let myHome = { myHome with City = "The Third City" }
5858
()

0 commit comments

Comments
 (0)