From 3c95849914cc0817f07d583448855929ca3e8f9e Mon Sep 17 00:00:00 2001 From: Yuki Omoto Date: Sun, 19 Mar 2023 21:21:34 +0900 Subject: [PATCH] Fix a sample code in tutorial to match its context --- www/generate_tutorial/src/input/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/generate_tutorial/src/input/tutorial.md b/www/generate_tutorial/src/input/tutorial.md index 95f299c254..a983bc937c 100644 --- a/www/generate_tutorial/src/input/tutorial.md +++ b/www/generate_tutorial/src/input/tutorial.md @@ -346,8 +346,8 @@ The `addAndStringify` function will accept any record with at least the fields ` ```roc total = addAndStringify { birds: 5, iguanas: 7 } -# The `name` field is unused by addAndStringify -totalWithNote = addAndStringify { birds: 4, iguanas: 3, name: "Whee!" } +# The `note` field is unused by addAndStringify +totalWithNote = addAndStringify { birds: 4, iguanas: 3, note: "Whee!" } addAndStringify = \counts -> Num.toStr (counts.birds + counts.iguanas)