Skip to content

Commit ed1f7e9

Browse files
authored
Fix typos in a few sections (#744)
* Fix typos in a few sections - Arrays - Equality - Leslie's list - Character study - Roman numerals * Run `./bin/configlet generate`
1 parent 5fad2f3 commit ed1f7e9

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

concepts/arrays/about.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ An element can also be accessed with `row-major-aref` which takes a single integ
6363

6464
## Predicate
6565

66-
To deterine if an object is an array one can use `arrayp`.
66+
To determine if an object is an array one can use `arrayp`.
6767

6868
```lisp
6969
(arrayp #(1 2 3)) ; => T

concepts/equality/about.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This is done recursively.
5353
- strings and bit vectors are [`equal`][hyper-equal] if their elements are `eql`
5454
- arrays of other types are compared as if with [`eq`][hyper-eq]
5555
- pathnames are [`equal`][hyper-equal] if they are functionality equivalent.
56-
(There is room for implementation dependendant behavior here with regards to case sensitivity of the strings which make up the components of the pathnames.)
56+
(There is room for implementation dependent behavior here with regards to case sensitivity of the strings which make up the components of the pathnames.)
5757
- objects of any other type are compared as if with [`eq`][hyper-eq]
5858

5959
```lisp
@@ -70,7 +70,7 @@ The fourth and most loose level of equality is checked with [`equalp`][hyper-equ
7070
The how the checking is done depends upon the types:
7171

7272
- if the two objects are [`equalp`][hyper-equalp] then they are [`equalp`][hyper-equalp]
73-
- numbers are [`equalp`][hyper-equalp] if they have the same vaule even if they are not of the same type
73+
- numbers are [`equalp`][hyper-equalp] if they have the same value even if they are not of the same type
7474
- characters and strings are compared case-insensitively
7575
- conses are [`equalp`][hyper-equalp] if their elements are [`equalp`][hyper-equalp].
7676
This is done recursively.

exercises/concept/character-study/.docs/hints.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
## 4. Determine the "type" of a character
2121

2222
- Common Lisp has a predicate function `alpha-char-p` to tell if a character is an alphabetic character.
23-
- Common Lisp has a preidicate function `digit-char-p` to tell if a character is a numeric character.
23+
- Common Lisp has a predicate function `digit-char-p` to tell if a character is a numeric character.
2424
- You can use `char=` to tell if two characters are equal.
2525
- The space character is written #\Space in Common Lisp.
2626
- The newline character is written #\Newline in Common Lisp.

exercises/concept/high-scores/.docs/introduction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ To get a value by a key from the hash table you use the `gethash` function:
2424
; T
2525
```
2626

27-
`gethash` returns [multiple values][concept-multiple-values] which will be explained in another concept.
27+
`gethash` returns [multiple values][concepts-multiple-values] which will be explained in another concept.
2828

2929
### Inserting values
3030

3131
To insert a value into a hash table you use `setf` with `gethash` like this:
3232

33-
`(setf (gethash :foo *hash-table*) :bar) ; => :bar`
33+
`(setf (gethash :foo *hash-table*) :bar) : => :bar`
3434

3535
This will modify the value for the key `:foo` in the hash table `*hash-table*` to be `:bar`.
3636
It returns the value.

exercises/concept/leslies-lists/.docs/instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ First thing is that Leslie needs to create a empty list. A function called `new-
1414
(new-list) ; => ()
1515
```
1616

17-
Oh no... Leslie has a few things in mind already, so they need a function that takes three items (luckily Leslie only creates a list of three items. Nothing more, nothing less!) and creates a new shopping list with those things. Write a function, `list-of-things` which takes three items and retunrs a list of them.
17+
Oh no... Leslie has a few things in mind already, so they need a function that takes three items (luckily Leslie only creates a list of three items. Nothing more, nothing less!) and creates a new shopping list with those things. Write a function, `list-of-things` which takes three items and returns a list of them.
1818

1919
```lisp
2020
(list-of-things 'bread 'milk 'butter) ; => '(bread milk butter)
@@ -66,4 +66,4 @@ Leslie is getting worried that this shopping trip will take a while. Just how ma
6666

6767
```lisp
6868
(just-how-long '(bread milk butter salt)) ; => 4
69-
```
69+
```

exercises/concept/lucys-magnificent-mapper/.docs/hints.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
## 2. Only the best
99

1010
- Filtering is the correct process to remove one or more items from a sequence, resulting in a new sequence.
11-
- `remove` can remove values from a sequence which are equal to a specfic item.
11+
- `remove` can remove values from a sequence which are equal to a specific item.
1212
- `remove-if` can remove values for which a predicate function evaluates to a true value.

reference/exercise-concepts/roman-numerals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Concepts of Roman Numerals
22

3-
This one is a bit of 'cheat' of an exericse - but the concept is real.
3+
This one is a bit of 'cheat' of an exercise - but the concept is real.
44

55
## Concepts
66

0 commit comments

Comments
 (0)