From 23983d2780659639c9e4648f35d13c4845673b7e Mon Sep 17 00:00:00 2001 From: Angelika Tyborska Date: Sat, 7 Aug 2021 12:43:23 +0200 Subject: [PATCH] Fix a few random typos (#434) --- CONTRIBUTING.md | 2 +- bin/generate-runtests.sh | 2 +- concepts/functions/about.md | 2 +- exercises/concept/stage-heralding/.meta/design.md | 2 +- exercises/concept/vehicle-purchase/.meta/design.md | 2 +- exercises/practice/resistor-color-trio/.meta/example.jl | 2 +- exercises/practice/spiral-matrix/.meta/example.jl | 2 +- reference/concepts.csv | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aaed856182213..b887afd2d1e06 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -130,7 +130,7 @@ You may improve these files by making the required changes and opening a new Pul ## Tools -You'll need Julia 1.0 or higher in order to contribute to the _code_ in this respository. +You'll need Julia 1.0 or higher in order to contribute to the _code_ in this repository. ### Fetch configlet diff --git a/bin/generate-runtests.sh b/bin/generate-runtests.sh index 8b332e80c0f0d..62a6825d72a3f 100755 --- a/bin/generate-runtests.sh +++ b/bin/generate-runtests.sh @@ -1,6 +1,6 @@ #! /bin/bash -# The problem-specifications directory shoud be adjacent to this project's root directory; +# The problem-specifications directory should be adjacent to this project's root directory; # otherwise you must provide its path as an argument to this script. # For each listed slug, generate tests using /generators/$slug.jl and put them in diff --git a/concepts/functions/about.md b/concepts/functions/about.md index 57ce39a0215de..28d3601b36829 100644 --- a/concepts/functions/about.md +++ b/concepts/functions/about.md @@ -57,7 +57,7 @@ For more information about functions, consider taking a look at the [Julia Manua #### Implicit returns The `return` statement is optional in Julia. -The last value in the function body will be returned implicitely: +The last value in the function body will be returned implicitly: ```julia function preptime(layers) diff --git a/exercises/concept/stage-heralding/.meta/design.md b/exercises/concept/stage-heralding/.meta/design.md index b9a52f4e36531..1b701a15e3d80 100644 --- a/exercises/concept/stage-heralding/.meta/design.md +++ b/exercises/concept/stage-heralding/.meta/design.md @@ -41,7 +41,7 @@ The analyzer should disregard most of the regex defined by the student. The regex itself is out of scope of the exercise and does not need to be mentored. This should be clearly communicated to both mentors and students. -The analyzer may suggest alternative approachs to writing the regex, e.g. using named capture groups or writing multi-line expressions, but this is not a priority. +The analyzer may suggest alternative approaches to writing the regex, e.g. using named capture groups or writing multi-line expressions, but this is not a priority. ## Representer diff --git a/exercises/concept/vehicle-purchase/.meta/design.md b/exercises/concept/vehicle-purchase/.meta/design.md index 2f6dbc3a24a36..55d26627f850d 100644 --- a/exercises/concept/vehicle-purchase/.meta/design.md +++ b/exercises/concept/vehicle-purchase/.meta/design.md @@ -16,7 +16,7 @@ The Concepts this exercise unlocks are: -- `conditionals`: Exercises that require conditionals as prereq should only depend on this concept. Since these are technically all interchangable, depending on one of these versions makes no sense. However, for the website concept view, separating these into three concepts may make sense. +- `conditionals`: Exercises that require conditionals as prereq should only depend on this concept. Since these are technically all interchangeable, depending on one of these versions makes no sense. However, for the website concept view, separating these into three concepts may make sense. - `if-expressions` - `ternary-operator` - `short-circuit-evaluation` diff --git a/exercises/practice/resistor-color-trio/.meta/example.jl b/exercises/practice/resistor-color-trio/.meta/example.jl index 9b0a413746c99..9356d95b0d38e 100644 --- a/exercises/practice/resistor-color-trio/.meta/example.jl +++ b/exercises/practice/resistor-color-trio/.meta/example.jl @@ -33,7 +33,7 @@ function label(colors::AbstractArray) suffix = "ohms" end - # print the final anwer with the appropriate suffix + # print the final answer with the appropriate suffix return ("$first_two_digits" * " " * "$suffix") end diff --git a/exercises/practice/spiral-matrix/.meta/example.jl b/exercises/practice/spiral-matrix/.meta/example.jl index 607c2133465c8..9f63a0dccad74 100644 --- a/exercises/practice/spiral-matrix/.meta/example.jl +++ b/exercises/practice/spiral-matrix/.meta/example.jl @@ -1,5 +1,5 @@ using LinearAlgebra -#Credit to u/SingularInfinity on Redit: https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/djb8po0 +#Credit to u/SingularInfinity on Reddit: https://www.reddit.com/r/dailyprogrammer/comments/6i60lr/20170619_challenge_320_easy_spiral_ascension/djb8po0 function spiral_matrix(n::Int) n < 0 && throw(DomainError(n, "n should be positive")) diff --git a/reference/concepts.csv b/reference/concepts.csv index 41821c3837fce..fab526ea458ef 100644 --- a/reference/concepts.csv +++ b/reference/concepts.csv @@ -51,7 +51,7 @@ internal-constructors,type-system type-parameters,type-system type-stability,type-system type-piracy,type-system -peformance-analysics, +performance-analysis, benchmarking, profiling, code-inspection,