Skip to content

Commit

Permalink
Reflows and rephrases
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Jan 3, 2019
1 parent b67e24c commit 7478e81
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions doc/Language/syntax.pod6
Expand Up @@ -609,7 +609,9 @@ see L<Int|/type/Int>.
=head4 Rat literals
L<Rat|/type/Rat> literals (rationals) are very common, and take the place of decimals or floats in many other languages. Integer division also results in a C<Rat>.
L<Rat|/type/Rat> literals (rationals) are very common, and take the
place of decimals or floats in many other languages. Integer division
also results in a C<Rat>.
=begin code :skip-test
1.0
Expand Down Expand Up @@ -651,13 +653,15 @@ constructing them: C<< key => 'value' >> and C<:key('value')>.
=head4 Arrow pairs
Arrow pairs can have an expression or an identifier on the left-hand side:
Arrow pairs can have an expression, a string literal or a "bare
identifier", which is a string with ordinary-identifier syntax that does
not need quotes on the left-hand side:
=begin code :skip-test
identifier => 42
"identifier" => 42
('a' ~ 'b') => 1
=end code
=begin code :skip-test
like-an-identifier-ain't-it => 42
"key" => 42
('a' ~ 'b') => 1
=end code
=head4 Adverbial pairs (colon pairs)
Expand Down

0 comments on commit 7478e81

Please sign in to comment.