Discussion Thread: DIP 1037--Add Unary Operator ...--Community Review Round 1

Manu turkeyman at gmail.com
Thu Oct 29 04:38:18 UTC 2020


On Thu, Oct 29, 2020 at 8:45 AM Guillaume Piolat via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On Tuesday, 27 October 2020 at 10:54:07 UTC, Mike Parker wrote:
> >
> > Here in the discussion thread, you are free to discuss anything
> > and everything related to the DIP. Express your support or
> > opposition, debate alternatives, argue the merits, etc.
>
> The DIP brings compile-time improvements, but this is a feature
> relatively reserved for the standard library so perhaps the
> blocker is that is also has an easy syntax;
> Being an operator it brings many new questions such as
> precedence, syntax compatibility, whereas if it was a compiler
> intrinsic like __mapTuple (very bad name) the quantity of debate
> would be less perhaps?
> Possibly it could remain "niche" and with loud syntax and we
> would still gain the compile-time improvements.
>

I'm not sure what you mean it's reserved for the standard library? That is
definitely not the case.
This is intended to be used by users who want to write good code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20201029/dc2eedbc/attachment.htm>


More information about the Digitalmars-d mailing list