Monorepo?
Steven Schveighoffer
schveiguy at gmail.com
Tue Feb 7 01:13:51 UTC 2023
On 2/6/23 3:46 PM, H. S. Teoh wrote:
> 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.
Yes. That's what has happened with all the other intrinsics, though this
sounds less like an intrinsic, and more like a magic symbol.
Or, alternatively. Create a small Phobos with just the pieces needed to
make the test suite run, and don't ever change it.
-Steve
More information about the Digitalmars-d
mailing list