From 2fa7d2bb1b4f0c5c1430d6e5f38592e3b98e1e16 Mon Sep 17 00:00:00 2001 From: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com> Date: Sat, 21 Sep 2024 03:51:16 +0300 Subject: [PATCH 1/2] bird-watcher: fix typos --- exercises/concept/bird-watcher/.docs/hints.md | 4 ++-- exercises/concept/bird-watcher/.docs/instructions.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/concept/bird-watcher/.docs/hints.md b/exercises/concept/bird-watcher/.docs/hints.md index e32ffb0ed..6568c7517 100644 --- a/exercises/concept/bird-watcher/.docs/hints.md +++ b/exercises/concept/bird-watcher/.docs/hints.md @@ -26,7 +26,7 @@ ## 5. Calculate the number of visiting birds for the first number of days -- The [`take`][take] function can be used return a sequence of the first n items in a collection. +- The [`take`][take] function can be used to return a sequence of the first n items in a collection. - The [`reduce`][reduce] function can be used to add a collection of values together. @@ -36,7 +36,7 @@ ## 7. Check for odd week -- The [`=`][equality] function can be used to test equality. +- The [`=`][equality] function can be used to test for equality. [count]: https://clojuredocs.org/clojure.core/count [dec]: https://clojuredocs.org/clojure.core/dec diff --git a/exercises/concept/bird-watcher/.docs/instructions.md b/exercises/concept/bird-watcher/.docs/instructions.md index a3ce8b3eb..121782c1e 100755 --- a/exercises/concept/bird-watcher/.docs/instructions.md +++ b/exercises/concept/bird-watcher/.docs/instructions.md @@ -62,7 +62,7 @@ Implement the `busy-days` function to return the number of busy days: ## 7. Check for odd week -Over the last year, you've found that some weeks for the same, odd pattern, where the counts alternate between one and zero birds visiting. Implement the `odd-week?` function that returns `true` if the bird count pattern of this week matches the odd pattern: +Over the last year, you've found that some weeks form the same, odd pattern, where the counts alternate between one and zero birds visiting. Implement the `odd-week?` function that returns `true` if the bird count pattern of this week matches the odd pattern: ```clojure (odd-week? [1 0 1 0 1 0 1]) From 33d852269f636079afe495d1fc951c4ab052d453 Mon Sep 17 00:00:00 2001 From: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com> Date: Sat, 21 Sep 2024 03:58:10 +0300 Subject: [PATCH 2/2] apply backtick formatting to 'true' --- exercises/concept/bird-watcher/.docs/hints.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/bird-watcher/.docs/hints.md b/exercises/concept/bird-watcher/.docs/hints.md index 6568c7517..8f2a04c3e 100644 --- a/exercises/concept/bird-watcher/.docs/hints.md +++ b/exercises/concept/bird-watcher/.docs/hints.md @@ -20,9 +20,9 @@ - The [`every?`][every?] function can be used to check if all items in a collection satisfy a given predicate. -- The [`pos?`][pos?] predicate returns true if a number is greater than zero. +- The [`pos?`][pos?] predicate returns `true` if a number is greater than zero. -- The [`not`][not] function returns true if an expression evaluates to logical false. +- The [`not`][not] function returns `true` if an expression evaluates to logical false. ## 5. Calculate the number of visiting birds for the first number of days