Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Enumeration links, markup.
  • Loading branch information
cfa committed Jan 7, 2019
1 parent ce49b48 commit b9b0356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/Language/typesystem.pod6
Expand Up @@ -695,7 +695,7 @@ Enumerations provide constant key-value-pairs with an associated type. Any key
is of that type and injected as a symbol into the current scope. If the symbol
is used, it is treated as a constant expression and the symbol is replaced with
the value of the enum-pair. Any Enumeration inherits methods from the role
C<Enumeration>. Complex expressions for generating key-value pairs are not
L<C<Enumeration>|/type/Enumeration>. Complex expressions for generating key-value pairs are not
supported. In general, an C<enum> is a L<Map|/type/Map> whose elements have the
C<Enumeration> role mixed in; this role includes, for each element, an index
which creates an order on the map.
Expand Down Expand Up @@ -886,4 +886,4 @@ subset C where ::('YourModule::C');
=end pod

# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
2 changes: 1 addition & 1 deletion doc/Type/Enumeration.pod6
Expand Up @@ -9,7 +9,7 @@
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,
the elements of which become also constant symbols in the current namespace and
to establish a relationship between the symbols belonging to the same set. In
general, you will find c<Enumeration> in L<enum|/language/typesystem#enum> types:
general, you will find C<Enumeration> in L<enum|/language/typesystem#enum> types:
enum norse-gods <Þor Oðin Loki>;
my $one-of-them = norse-gods.pick;
Expand Down

0 comments on commit b9b0356

Please sign in to comment.