Skip to content

Commit c8cedca

Browse files
committed
Fixes typos
And improves docs of aspell.t trying to deal with #975
1 parent 6b90a78 commit c8cedca

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

doc/Language/hashmap.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ the two methods above, as well as the default Hash behavior.
1919
say (%).^name ;# OUTPUT: «Hash␤»
2020
2121
Inversely, you cannot use the C<%> sigil if the C<Associative> role is not mixed
22-
in, but since this role does not have any associater properties, you will have
22+
in, but since this role does not have any associated properties, you will have
2323
to redefine the behavior of the L<hash subscript
2424
operator|/language/operators#postcircumfix_{_}>. In order to do that, there
2525
are several functions you will have to override:
@@ -65,7 +65,7 @@ say %logger<2018-04-22>:exists; # OUTPUT: «False»
6565
6666
=end code
6767
68-
In this case, we are definning a logger with Associative semantics that would be
68+
In this case, we are defining a logger with Associative semantics that would be
6969
able to use dates (or a part of them) as keys. Since we are parametrizing
7070
C<Associative> to those particular classes, C<of> will return the value type we
7171
have used, C<Cool> in this case (we can log lists or strings only). Mixing the C<Associative> role gives it the right to use the C<%> sigil; binding is needed in the definition since C<%>-sigilled variables get by default the C<Hash> type.
@@ -96,7 +96,7 @@ immutable. Once a key has been paired with a value, this pairing cannot be
9696
changed.
9797
9898
Maps and hashes are usually stored in variables with the percent C<%> sigil,
99-
which is ussed to indicate they are Associative.
99+
which is used to indicate they are Associative.
100100
101101
Hash and map elements are accessed by key via the C<{ }> postcircumfix operator:
102102

xt/aspell.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ use Test-Files;
77

88
=begin overview
99
10-
Spell check all the pod files in the documentation directory.
10+
Spell check all the pod and most markdown files in the documentation directory.
1111
1212
Ignore case, and provide a repo-specific list of approved words,
1313
which include technical jargon, method and class names, etc.
1414
1515
If the test fails, you can make it pass again by changing the
1616
text (fixing the spelling issue), or adding the new word to
17-
xt/words.pws (if it's a word, a class/method name, known
18-
program name, etc.), or to xt/code.pws (if it's a fragment of
17+
C<xt/words.pws> (if it's a word, a class/method name, known
18+
program name, etc.), or to C<xt/code.pws> (if it's a fragment of
1919
text that is part of a code example)
2020
2121
=end overview

xt/words.pws

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,3 +1419,5 @@ Mattijsen
14191419
TKey
14201420
DateHash
14211421
evir
1422+
parametrizing
1423+
Cro

0 commit comments

Comments
 (0)