Monorepo?

H. S. Teoh hsteoh at qfbox.info
Mon Feb 6 20:46:47 UTC 2023


On Tue, Feb 07, 2023 at 09:34:08AM +1300, Richard (Rikki) Andrew Cattermole via Digitalmars-d wrote:
> On 07/02/2023 9:05 AM, Walter Bright wrote:
> > On 2/6/2023 11:38 AM, Iain Buclaw wrote:
> > > Because somebody wanted a power operator.
> > 
> > Maybe that should be revisited (i.e. use a function rather than an
> > operator).
> 
> Nah, its just the implementation is in the wrong place and its
> implementation needs revisiting.
> 
> https://issues.dlang.org/show_bug.cgi?id=23538

Since ^^ is a built-in operator in the language, the implementation (and
its dependencies) really should be in druntime.  Any dependent functions
like exp() that's currently in std.math should be moved to druntime, and
std.math should just alias the current symbol to the druntime
implementation.


T

-- 
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world. -- Anonymous


More information about the Digitalmars-d mailing list