opConcatAll?
user1234
user1234 at 12.de
Fri Jul 3 18:16:53 UTC 2020
On Friday, 3 July 2020 at 17:13:32 UTC, Steven Schveighoffer
wrote:
> On 7/3/20 11:25 AM, user1234 wrote:
>> On Thursday, 2 July 2020 at 19:28:15 UTC, Nick Treleaven wrote:
>>> [...]
>>
>> Wow, that looked cool the first 3 secons but now I wander if
>> you really want to let the user break the rules of precedence ?
>
> Meh, the user can do anything he wants already. One can get
> around precedence by deferring calls.
>
> It is true, though, that I didn't think of precedence when I
> first posted -- I just wanted to avoid some allocations.
>
> -Steve
Your suggestion has no issue with precedence, it's only the
version proposed by Nick, as it allows to mix several operators.
More information about the Digitalmars-d
mailing list