On 2008 Aug 8, at 23:12, John M. Dlugosz wrote:

Brandon S. Allbery KF8NH allbery-at-ece.cmu.edu |Perl 6| wrote:
On 2008 Aug 8, at 23:06, John M. Dlugosz wrote:
Why is 3;3;3 a list of captures rather than a list of lists?
IIRC it has to do with providing enough information for slices and/ or * to work in multiple dimensions.
So how does a * work in multiple dimensions?

Grah. There was a discussion about multidimensional arrays which culminated in the decision to make array indices captures, but I can't find it now. IIRC the issue was that a list of multidimensional array indices might only be resolveable at runtime, so there had to be a way to preserve Whatevers (aka *), so they had to be captures because anything else would resolve the Whatevers too early.

Hopefully someone with a clearer memory than me (damn drugs...) will remember what this was about and clarify (or explain where I went wrong).

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH

Reply via email to