[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Microlight
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 18 Dec 2012 14:14:36 +0200
2012/12/18 Dirk Laurie <dirk.laurie@gmail.com>:
> 2012/12/18 steve donovan <steve.j.donovan@gmail.com>:
>
>> Does occur to me that Array should be given its own
>> module however.
>
> Plus more, but we can talk about it once the project gets
> under way.
Actually, on second thoughts, anything short of an array
with vector semantics will be disappointing.
10*{1,2,3} --> {10,20,30}
{1,2,3} + {4,5,6} --> {5,7,9}
{1,2,3}..{4,5,6} --> {1,2,3,4,5,6}
{1,2,3} + 1 -- to be debated, {2,3,4} or error
{1,2,3}*{4,5,6} -- to be debated, {4,10,18} or 32 or error
This must have been discussed several times before.