File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ L<//|/language/operators#infix_//>,
53
53
L < with/without|/language/control#with,_orwith,_without > and
54
54
L < signatures|/type/Signature#Constraining_Defined_and_Undefined_Values > .
55
55
56
- = head3 Coersion
56
+ = head3 Coercion
57
57
58
- Turning one type into another is done with coersion methods that have the same
58
+ Turning one type into another is done with coercion methods that have the same
59
59
name then the target type. This convention is made mandatory by
60
60
L < Signatures|/type/Signature#Coercion_Type > . The source type has to know how to
61
- turn itself into the target type. To allow build-in types to turn themself into
61
+ turn itself into the target type. To allow build-in types to turn themselves into
62
62
user defined types use L < augment|/language/variables#The_augment_Declarator > .
63
63
64
64
class C {
@@ -77,8 +77,8 @@ user defined types use L<augment|/language/variables#The_augment_Declarator>.
77
77
# OUTPUT « oioioioioioioioioioi‽ »
78
78
79
79
Perl 6 provides methods defined in L < Cool|/type/Cool > to convert to a target
80
- type before applying further operations. Most build-in types decend from
81
- C < Cool > and as such may provide implicit coersion that may be undesired. It is
80
+ type before applying further operations. Most build-in types descend from
81
+ C < Cool > and as such may provide implicit coercion that may be undesired. It is
82
82
the responsibility of the user to care about trap-free usage of those
83
83
methods.
84
84
Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ notthere
191
191
obai
192
192
objs
193
193
ohai
194
+ oioioioioioioioioioi
194
195
ol
195
196
onceuponatime
196
197
ooooo
You can’t perform that action at this time.
0 commit comments