foo!(bar) ==> foo{bar} ==> foo[bar] (just Brackets)

Bill Baxter wbaxter at gmail.com
Wed Oct 15 16:46:22 PDT 2008


On Thu, Oct 16, 2008 at 7:10 AM, Yigal Chripun <yigal100 at gmail.com> wrote:

>> I think you may be right.  If nothing technical against it emerges,
>> the human will likely be the weak link here.
>>
>> More than SomeClass[3], this is the case that worries me:
>>
>>    Identifier1[Identifier2]  x;
>>
>> is it an AA or a templated type?
>>
>> --bb
>
> perhaps this will allow to remove AAs and arrays from the core language
> and put them in the stdlib instead.
> besides,there were discussions of separating arrays who own memory from
> slices that don't.
>

You'd probably lose compile time AAs then.  And AA literals.  Not sure
how well either of those actually works right now though...  AA
literals at least are pretty limited.  Anyone know if AAs work in CTFE
right now?

--bb



More information about the Digitalmars-d mailing list