[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: sunday afternoon whishlist
- From: Jonathan Castello <twisolar@...>
- Date: Mon, 10 May 2010 13:16:17 -0700
On Mon, May 10, 2010 at 1:11 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> 2010/5/10 spir ☣ <denis.spir@gmail.com>:
>> Because of holes? Maybe one more reason in favour of a plain sequence?
>
> what would be the proposal?
>
> - a structure that doesn't allow nil elements?
>
> - a 'pure vector' that considers every 'slot' used, so there's no
> content-aware count?
>
> - an operator that only has sense if you don't have holes in your
> array? (sounds familiar)
>
> --
> Javier
>
I think it should be fairly easy to implement any of those with metatables, no?
~Jonathan Castello