Should we add `a * b` for vectors?

Walter Bright newshound2 at digitalmars.com
Wed Oct 4 22:59:12 UTC 2017


On 10/4/2017 3:35 PM, Petar Kirov [ZombineDev] wrote:
> On Wednesday, 4 October 2017 at 17:56:16 UTC, Walter Bright wrote:
>> On 10/4/2017 2:28 AM, Dukc wrote:
>>> But you can't deny our solution eats expressive power: If you don't want to 
>>> change code you're importing, you have to write a wrapper type for int[] here.
>>
>> Please present an example.
> 
> I think that was the point of Timon's example.

An example would be appreciated. Timon's example requires guesswork as to what 
he intended, because it does not compile in ways unrelated to his point.


More information about the Digitalmars-d mailing list