book icon indicating copy to clipboard operation
book copied to clipboard

Using Perl6: Section 4.5: Captures: issues

Open jkeenan opened this issue 13 years ago • 2 comments

  1. The PDF version I have from Aug 2010 states: "In one sense, a signature is a collection of parameters. Captures fill the same niche for arguments." This does not provide a definition of a capture; it merely provides an analogy to something else. We need a definition.
  2. In what sense is a capture different from an array reference?
  3. Code sample at start of 4.5.1: Does each capture in this array have to have arguments in the same position?

jkeenan avatar Sep 25 '10 14:09 jkeenan

I also found this part of chapter 4 confusing.

patspam avatar Sep 25 '10 18:09 patspam

Regarding 1 and 2: we now have a proper explanation; please re-read and tell me if it's less confusing now :-)

I've answered 3. in SHA: c4de7ab3005eaad428e38d04525f70bda5b794b5

moritz avatar Nov 20 '10 23:11 moritz