Skip to content

Commit 7922af5

Browse files
authored
add information
+ separate ints and floats + add a =head3 and title for reference + spell completely String and Boolean
1 parent de8e754 commit 7922af5

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

doc/Language/pod.pod6

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Top Level Heading
4040
=end head1
4141
=end code
4242
43+
=head3 Configuration information
44+
4345
After the typename, the rest of the C<=begin> marker line is treated as
4446
configuration information for the block. This information is used in
4547
different ways by different types of blocks, but is always specified using
@@ -53,16 +55,17 @@ Perl6-ish option pairs. That is, any of:
5355
Boolean (true) :key :key(True) :key[True]
5456
Boolean (false) :!key :key(False) :key[False]
5557
String :key<str> :key('str') :key("str")
56-
Number :key(42) :key(2.3)
58+
Int :key(42) :key[42]
59+
Number :key(2.3) :key[2.3]
5760
=end table
5861
59-
Where '$e1,$e2,...' are list elements of type Str, Int, Num, or
60-
Bool. Lists may have mixed element types. Note that one-element
61-
lists are converted to the type of their element (Str, Int, Num, or
62-
Bool).
62+
Where '$e1,$e2,...' are list elements of type String, Int, Number, or
63+
Boolean. Lists may have mixed element types. Note that one-element
64+
lists are converted to the type of their element (String, Int, Number, or
65+
Boolean).
6366
6467
For hashes, '$k1,$k2,...' are keys of type Str and '$v1,$2,...'
65-
are values of type Str, Int, Num, or Bool.
68+
are values of type String, Int, Number, or Boolean.
6669
6770
Strings may use any of the single Q/q quote constructs, e.g.,
6871
:key(Q[str]), which is equivalent to the :key<str> format and

0 commit comments

Comments
 (0)