diff --git a/docs/review-notes.txt b/docs/review-notes.txt index c04d157..dc94139 100644 --- a/docs/review-notes.txt +++ b/docs/review-notes.txt @@ -2,15 +2,24 @@ Pm-1: (basics) The first example uses C<.split> (e.g. to get the list of names), but in Perl 6 the canonical way to grab a list of words is via C<.comb>. Should we switch? +perlpilot: I don't think so. C<.comb> takes a regex to describe + what you want and it's too soon and potentially + confusing to bring those up. + Pm-2: (basics) Footnote 1 -- I'd reword as "Unlike in Perl 5, in Perl 6 the sigil does not change when accessing an array or hash using C<[ ]> or C<{ }>. This is called I." +perlpilot: reworded mostly the same. + Pm-3: (basics) I know it's a bit early to talk about Junctions, but for the answer to problem #2 it might be better to say unless all($p1, $p2) ~~ @names { ... } +perlpilot: Definitely not. We don't talk about Junctions B in + the book yet :) + Pm-4: (operators) The &infix:<,> operator doesn't construct a C, and Cs are no longer immutable. diff --git a/src/basics.pod b/src/basics.pod index 1b08acb..d993bea 100644 --- a/src/basics.pod +++ b/src/basics.pod @@ -160,14 +160,13 @@ an C. Arrays store ordered lists. X -These two lines of code declare two hashes. The C<%> sigil marks each variable -as a C. A C is an unordered -collection of pairs of keys and values. Other programming languages call that a -I, I, or I. You can query a hash table for the -value that corresponds to a certain C<$key> with C<%hash{$key}>N< -Perl 5 programmers will notice that in Perl 6 the sigil stays the same -and does not change upon indexing with C<[ ]> or C<{ }>. This -is referred to as I>.>. +These two lines of code declare two hashes. The c<%> sigil marks each +variable as a C. A C is an unordered collection of pairs of +keys and values. Other programming languages call that a I, +I, or I. You can query a hash table for the value that +corresponds to a certain C<$key> with C<%hash{$key}>N or C<{ }>. This is called I>.>. In the score counting program, C<%matches> stores the number of matches each player has won. C<%sets> stores the number of sets each player has won.