diff --git a/concepts/bit-strings/about.md b/concepts/bit-strings/about.md index 969efa3c0..f6ae566c3 100644 --- a/concepts/bit-strings/about.md +++ b/concepts/bit-strings/about.md @@ -34,7 +34,7 @@ If the value of the segment overflows the capacity of the segment's type, it wil ```gleam <<0b1011:3>> == <<0b0011:3>> -// -> true +// -> True ``` ## Prepending and appending diff --git a/concepts/bit-strings/introduction.md b/concepts/bit-strings/introduction.md index 969efa3c0..f6ae566c3 100644 --- a/concepts/bit-strings/introduction.md +++ b/concepts/bit-strings/introduction.md @@ -34,7 +34,7 @@ If the value of the segment overflows the capacity of the segment's type, it wil ```gleam <<0b1011:3>> == <<0b0011:3>> -// -> true +// -> True ``` ## Prepending and appending diff --git a/concepts/labelled-fields/about.md b/concepts/labelled-fields/about.md index 50cb2c4f3..ffca06e9a 100644 --- a/concepts/labelled-fields/about.md +++ b/concepts/labelled-fields/about.md @@ -29,7 +29,7 @@ let a = Rectangle(height: 10.0, width: 20.0) let b = Rectangle(width: 20.0, height: 10.0) a == b -// -> true +// -> True ``` When a custom type has only one variant then the `.label` accessor syntax can be used to get the fields of a record. diff --git a/concepts/labelled-fields/introduction.md b/concepts/labelled-fields/introduction.md index c5d85adc6..bd06b5b1f 100644 --- a/concepts/labelled-fields/introduction.md +++ b/concepts/labelled-fields/introduction.md @@ -29,7 +29,7 @@ let a = Rectangle(height: 10.0, width: 20.0) let b = Rectangle(width: 20.0, height: 10.0) a == b -// -> true +// -> True ``` When a custom type has only one variant then the `.label` accessor syntax can be used to get the fields of a record. diff --git a/exercises/concept/bandwagoner/.docs/introduction.md b/exercises/concept/bandwagoner/.docs/introduction.md index 1fc01cb91..d64c45a89 100644 --- a/exercises/concept/bandwagoner/.docs/introduction.md +++ b/exercises/concept/bandwagoner/.docs/introduction.md @@ -31,7 +31,7 @@ let a = Rectangle(height: 10.0, width: 20.0) let b = Rectangle(width: 20.0, height: 10.0) a == b -// -> true +// -> True ``` When a custom type has only one variant then the `.label` accessor syntax can be used to get the fields of a record. diff --git a/exercises/concept/bird-count/.docs/instructions.md b/exercises/concept/bird-count/.docs/instructions.md index 0c50676c1..935cabc7e 100644 --- a/exercises/concept/bird-count/.docs/instructions.md +++ b/exercises/concept/bird-count/.docs/instructions.md @@ -26,14 +26,14 @@ bird_count.increment_day_count([4, 0, 2]) ## 3. Check if there was a day with no visiting birds -Implement the `bird_count.has_day_without_birds` function. It should take a list of daily bird counts. It should return `true` if there was at least one day when no birds visited the garden, and `false` otherwise. +Implement the `bird_count.has_day_without_birds` function. It should take a list of daily bird counts. It should return `True` if there was at least one day when no birds visited the garden, and `False` otherwise. ```gleam bird_count.has_day_without_birds([2, 0, 4]) -// -> true +// -> True bird_count.has_day_without_birds([3, 8, 1, 5]) -// -> false +// -> False ``` ## 4. Calculate the total number of visiting birds diff --git a/exercises/concept/dna-encoding/.docs/introduction.md b/exercises/concept/dna-encoding/.docs/introduction.md index 86e04a30c..bb9ec15d6 100644 --- a/exercises/concept/dna-encoding/.docs/introduction.md +++ b/exercises/concept/dna-encoding/.docs/introduction.md @@ -36,7 +36,7 @@ If the value of the segment overflows the capacity of the segment's type, it wil ```gleam <<0b1011:3>> == <<0b0011:3>> -// -> true +// -> True ``` ### Prepending and appending @@ -67,7 +67,7 @@ Pattern matching can also be done to obtain values from the bit string. You have ```gleam let assert <> = <<0b01101001:8>> value == 0b0110 -// -> true +// -> True ``` ### Inspecting bit strings diff --git a/exercises/concept/pacman-rules/.docs/instructions.md b/exercises/concept/pacman-rules/.docs/instructions.md index f9e8b4c88..9250e5741 100644 --- a/exercises/concept/pacman-rules/.docs/instructions.md +++ b/exercises/concept/pacman-rules/.docs/instructions.md @@ -8,7 +8,7 @@ You have four rules to translate, all related to the game states. ## 1. Define if Pac-Man eats a ghost -Define the `eat_ghost` function that takes two arguments (_if Pac-Man has a power pellet active_ and _if Pac-Man is touching a ghost_) and returns a boolean value if Pac-Man is able to eat the ghost. The function should return true only if Pac-Man has a power pellet active and is touching a ghost. +Define the `eat_ghost` function that takes two arguments (_if Pac-Man has a power pellet active_ and _if Pac-Man is touching a ghost_) and returns a boolean value if Pac-Man is able to eat the ghost. The function should return `True` only if Pac-Man has a power pellet active and is touching a ghost. ```gleam eat_ghost(False, True) @@ -17,7 +17,7 @@ eat_ghost(False, True) ## 2. Define if Pac-Man scores -Define the `score` function that takes two arguments (_if Pac-Man is touching a power pellet_ and _if Pac-Man is touching a dot_) and returns a boolean value if Pac-Man scored. The function should return true if Pac-Man is touching a power pellet or a dot. +Define the `score` function that takes two arguments (_if Pac-Man is touching a power pellet_ and _if Pac-Man is touching a dot_) and returns a boolean value if Pac-Man scored. The function should return `True` if Pac-Man is touching a power pellet or a dot. ```gleam score(True, True) @@ -26,7 +26,7 @@ score(True, True) ## 3. Define if Pac-Man loses -Define the `lose` function that takes two arguments (_if Pac-Man has a power pellet active_ and _if Pac-Man is touching a ghost_) and returns a boolean value if Pac-Man loses. The function should return true if Pac-Man is touching a ghost and does not have a power pellet active. +Define the `lose` function that takes two arguments (_if Pac-Man has a power pellet active_ and _if Pac-Man is touching a ghost_) and returns a boolean value if Pac-Man loses. The function should return `True` if Pac-Man is touching a ghost and does not have a power pellet active. ```gleam lose(False, True) @@ -35,7 +35,7 @@ lose(False, True) ## 4. Define if Pac-Man wins -Define the `win` function that takes three arguments (_if Pac-Man has eaten all of the dots_, _if Pac-Man has a power pellet active_, and _if Pac-Man is touching a ghost_) and returns a boolean value if Pac-Man wins. The function should return true if Pac-Man has eaten all of the dots and has not lost based on the arguments defined in part 3. +Define the `win` function that takes three arguments (_if Pac-Man has eaten all of the dots_, _if Pac-Man has a power pellet active_, and _if Pac-Man is touching a ghost_) and returns a boolean value if Pac-Man wins. The function should return `True` if Pac-Man has eaten all of the dots and has not lost based on the arguments defined in part 3. ```gleam win(False, True, False) diff --git a/exercises/concept/tisbury-treasure-hunt/.docs/instructions.md b/exercises/concept/tisbury-treasure-hunt/.docs/instructions.md index 0ab9c8056..3fbd74dd5 100644 --- a/exercises/concept/tisbury-treasure-hunt/.docs/instructions.md +++ b/exercises/concept/tisbury-treasure-hunt/.docs/instructions.md @@ -79,7 +79,7 @@ count_place_treasures(place, treasures) ## 4. Special Places -Implement the `special_case_swap_possible` function, which takes a treasure (such as `#("Amethyst Octopus", #(1, "F"))`) and a Place (such as `#("Seaside Cottages", #("C", 1))`), and returns true for the following combinations: +Implement the `special_case_swap_possible` function, which takes a treasure (such as `#("Amethyst Octopus", #(1, "F"))`) and a Place (such as `#("Seaside Cottages", #("C", 1))`), and returns `True` for the following combinations: - The Brass Spyglass can be swapped for any other treasure at the Abandoned Lighthouse. - The Amethyst Octopus can be swapped for the Crystal Crab or the Glass Starfish at the Stormy Breakwater. diff --git a/exercises/concept/tracks-on-tracks-on-tracks/.docs/instructions.md b/exercises/concept/tracks-on-tracks-on-tracks/.docs/instructions.md index 85024aa6e..2ea511d96 100644 --- a/exercises/concept/tracks-on-tracks-on-tracks/.docs/instructions.md +++ b/exercises/concept/tracks-on-tracks-on-tracks/.docs/instructions.md @@ -60,5 +60,5 @@ Implement the `exciting_list` function to check if a list of languages is exciti ```gleam exciting_list(["Lua", "Gleam"]) -// -> true +// -> True ``` diff --git a/exercises/practice/reverse-string/.meta/tests.toml b/exercises/practice/reverse-string/.meta/tests.toml index 4e5330422..0b04c4cd7 100644 --- a/exercises/practice/reverse-string/.meta/tests.toml +++ b/exercises/practice/reverse-string/.meta/tests.toml @@ -25,4 +25,4 @@ description = "a sentence with punctuation" description = "a palindrome" [b9e7dec1-c6df-40bd-9fa3-cd7ded010c4c] -description = "an even-sized word" \ No newline at end of file +description = "an even-sized word"