Skip to content

Commit

Permalink
Fix a few random typos (JuliaLang#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelikatyborska committed Aug 7, 2021
1 parent 2c51c63 commit 23983d2
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion bin/generate-runtests.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion concepts/functions/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/stage-heralding/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/vehicle-purchase/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/resistor-color-trio/.meta/example.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion exercises/practice/spiral-matrix/.meta/example.jl
Original file line number Diff line number Diff line change
@@ -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"))
Expand Down
2 changes: 1 addition & 1 deletion reference/concepts.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 23983d2

Please sign in to comment.