File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ value of a call to a method called C<new>, or a literal.
378
378
Instances of most types are defined to be C < True > e.g.,
379
379
C < defined($instance) > is C < True > .
380
380
381
- my Str $str = "hello"; ## this is with builtin types, e.g. Str
381
+ my Str $str = "hello"; ## this is with built-in types, e.g. Str
382
382
if defined($str) {
383
383
say "Oh, yeah. I'm defined.";
384
384
}
@@ -1152,6 +1152,17 @@ is an object that is used to represent a type or a class. Since in
1152
1152
object oriented programming everything is an object, classes are
1153
1153
objects too, and they inherit from L < Mu|/type/Mu > .
1154
1154
1155
+ = head1 Type smiley
1156
+
1157
+ A
1158
+ L < type smiley|/type/Signature#Constraining_argument_definiteness >
1159
+ is a suffix a type may have that indicates the definiteness of values
1160
+ that can typecheck against it. This may be C < :D > to indicate that only
1161
+ defined values can typecheck (i.e. instances), C < :U > to indicate that only
1162
+ undefined values can typecheck (i.e. type objects), or C < :_ > to indicate
1163
+ that both defined and undefined values can typecheck. These resemble
1164
+ emoticons, thus the name.
1165
+
1155
1166
= head1 value
1156
1167
X < |value >
1157
1168
Original file line number Diff line number Diff line change @@ -499,6 +499,7 @@ hamza
499
499
hardcoded
500
500
hartl
501
501
hashref
502
+ haskell
502
503
haskelly
503
504
heredoc
504
505
heredocs
@@ -572,6 +573,7 @@ invocant's
572
573
invocantmarker
573
574
invocants
574
575
invocationprotocol
576
+ irc
575
577
isa
576
578
isengard
577
579
ish
@@ -847,6 +849,7 @@ oneline
847
849
oo
848
850
oop
849
851
opaquepointer
852
+ opcode
850
853
openbsd
851
854
opendir
852
855
openforwriting
@@ -1054,7 +1057,10 @@ reentrant
1054
1057
regex
1055
1058
regexes
1056
1059
reification
1060
+ reified
1057
1061
reifier
1062
+ reifies
1063
+ reify
1058
1064
reini
1059
1065
renderer
1060
1066
renderers
You can’t perform that action at this time.
0 commit comments