From fe44c6304f102ff2c0bd1007a28cb93206471228 Mon Sep 17 00:00:00 2001 From: Benjamin Bannier Date: Fri, 14 Jun 2024 08:08:39 +0200 Subject: [PATCH] Simplify exercise data Some training attendees were confused by the integers in the input data and wanted to extract it as e.g., `uint8`. Replace the integers with text to make that less likely. --- src/parsing_exercise_naive_csv.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/parsing_exercise_naive_csv.md b/src/parsing_exercise_naive_csv.md index c835be3..e37f796 100644 --- a/src/parsing_exercise_naive_csv.md +++ b/src/parsing_exercise_naive_csv.md @@ -9,9 +9,9 @@ Assuming the following simplified CSV format: A sample input would be ```csv -1,a,ABC -2,b,DEF -3,c,GHI +I,a,ABC +J,b,DEF +K,c,GHI ``` ```admonish note @@ -98,7 +98,7 @@ spicy-driver csv_naive.spicy -f input.csv ```console $ spicy-driver csv_naive.spicy -f input.csv - [[b"1", b"a", b"ABC"], [b"2", b"b", b"DEF"], [b"3", b"c", b"GHI"]] + [[b"I", b"a", b"ABC"], [b"J", b"b", b"DEF"], [b"K", b"c", b"GHI"]] ```