Skip to content

Commit b9b0356

Browse files
committed
Enumeration links, markup.
1 parent ce49b48 commit b9b0356

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/Language/typesystem.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ Enumerations provide constant key-value-pairs with an associated type. Any key
695695
is of that type and injected as a symbol into the current scope. If the symbol
696696
is used, it is treated as a constant expression and the symbol is replaced with
697697
the value of the enum-pair. Any Enumeration inherits methods from the role
698-
C<Enumeration>. Complex expressions for generating key-value pairs are not
698+
L<C<Enumeration>|/type/Enumeration>. Complex expressions for generating key-value pairs are not
699699
supported. In general, an C<enum> is a L<Map|/type/Map> whose elements have the
700700
C<Enumeration> role mixed in; this role includes, for each element, an index
701701
which creates an order on the map.
@@ -886,4 +886,4 @@ subset C where ::('YourModule::C');
886886
887887
=end pod
888888

889-
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
889+
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

doc/Type/Enumeration.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
This is the role implemented by the enum-pairs in the L<C<enum> type|/language/typesystem#enum>. In general, it is used to create constant sets,
1010
the elements of which become also constant symbols in the current namespace and
1111
to establish a relationship between the symbols belonging to the same set. In
12-
general, you will find c<Enumeration> in L<enum|/language/typesystem#enum> types:
12+
general, you will find C<Enumeration> in L<enum|/language/typesystem#enum> types:
1313
1414
enum norse-gods <Þor Oðin Loki>;
1515
my $one-of-them = norse-gods.pick;

0 commit comments

Comments
 (0)