From bf53bcf817883d059404b77505373b138509aa1b Mon Sep 17 00:00:00 2001 From: Jeremie Gillet Date: Tue, 31 Oct 2023 17:08:03 +0900 Subject: [PATCH] Add Elm Analyzer comment for concept exercise `bandwagonner` --- .../elm/bandwagoner/use_extensible_record_signature.md | 3 +++ .../elm/bandwagoner/use_pattern_matching_in_argument.md | 3 +++ analyzer-comments/elm/bandwagoner/use_record_update_syntax.md | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 analyzer-comments/elm/bandwagoner/use_extensible_record_signature.md create mode 100644 analyzer-comments/elm/bandwagoner/use_pattern_matching_in_argument.md create mode 100644 analyzer-comments/elm/bandwagoner/use_record_update_syntax.md diff --git a/analyzer-comments/elm/bandwagoner/use_extensible_record_signature.md b/analyzer-comments/elm/bandwagoner/use_extensible_record_signature.md new file mode 100644 index 000000000..f4c55607d --- /dev/null +++ b/analyzer-comments/elm/bandwagoner/use_extensible_record_signature.md @@ -0,0 +1,3 @@ +# use extensible record signature + +Like the instructions mention, you should use an extensible record in the type signature of `rootForTeam`. diff --git a/analyzer-comments/elm/bandwagoner/use_pattern_matching_in_argument.md b/analyzer-comments/elm/bandwagoner/use_pattern_matching_in_argument.md new file mode 100644 index 000000000..e9fff24f9 --- /dev/null +++ b/analyzer-comments/elm/bandwagoner/use_pattern_matching_in_argument.md @@ -0,0 +1,3 @@ +# use pattern matching in argument + +Like the instructions mention, you should use pattern matching to get `stats` from the function parameter in `rootForTeam`. diff --git a/analyzer-comments/elm/bandwagoner/use_record_update_syntax.md b/analyzer-comments/elm/bandwagoner/use_record_update_syntax.md new file mode 100644 index 000000000..a7a476c19 --- /dev/null +++ b/analyzer-comments/elm/bandwagoner/use_record_update_syntax.md @@ -0,0 +1,3 @@ +# use record update syntax + +For the sake of learning about records, try using the record update syntax in `replaceCoach`.