[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Standard libraries (was Re: Virgin tables)
- From: Greg Falcon <veloso@...>
- Date: Thu, 30 Dec 2010 15:25:22 -0500
> I quite like the proposed array interface (and might end up just
> implementing it in a library of my own), though array(...) somewhat
> irks me - wouldn't array{...} be much more efficient in most cases?
Part of the point here is to support "holes". You want
array(nil, nil, nil)
to make a three-element array containing all nils. Compare to
array{nil, nil, nil}
which can't possibly be made to work.
Greg F