Skip to content

Commit

Permalink
add information
Browse files Browse the repository at this point in the history
+ separate ints and floats
+ add a =head3 and title for reference
+ spell completely String and Boolean
  • Loading branch information
tbrowder committed Dec 24, 2017
1 parent de8e754 commit 7922af5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions doc/Language/pod.pod6
Expand Up @@ -40,6 +40,8 @@ Top Level Heading
=end head1
=end code
=head3 Configuration information
After the typename, the rest of the C<=begin> marker line is treated as
configuration information for the block. This information is used in
different ways by different types of blocks, but is always specified using
Expand All @@ -53,16 +55,17 @@ Perl6-ish option pairs. That is, any of:
Boolean (true) :key :key(True) :key[True]
Boolean (false) :!key :key(False) :key[False]
String :key<str> :key('str') :key("str")
Number :key(42) :key(2.3)
Int :key(42) :key[42]
Number :key(2.3) :key[2.3]
=end table
Where '$e1,$e2,...' are list elements of type Str, Int, Num, or
Bool. Lists may have mixed element types. Note that one-element
lists are converted to the type of their element (Str, Int, Num, or
Bool).
Where '$e1,$e2,...' are list elements of type String, Int, Number, or
Boolean. Lists may have mixed element types. Note that one-element
lists are converted to the type of their element (String, Int, Number, or
Boolean).
For hashes, '$k1,$k2,...' are keys of type Str and '$v1,$2,...'
are values of type Str, Int, Num, or Bool.
are values of type String, Int, Number, or Boolean.
Strings may use any of the single Q/q quote constructs, e.g.,
:key(Q[str]), which is equivalent to the :key<str> format and
Expand Down

0 comments on commit 7922af5

Please sign in to comment.