Re: Beta 2.108.0

2024-03-21 Thread Salih Dincer via Digitalmars-d-announce
On Thursday, 21 March 2024 at 09:16:07 UTC, Andrea Fontana wrote: This? ```d auto toHex(N)(N number) if (isIntegral!N) { return "%X".format(number); } ``` No, you respect your efforts. Simple solutions without memory allocation are needed. Moreover, there are already very good algorithms

Re: Beta 2.108.0

2024-03-21 Thread Martin Tschierschke via Digitalmars-d-announce
On Saturday, 16 March 2024 at 09:26:20 UTC, Iain Buclaw wrote: The RC for 2.108 has been released, which includes the following changes from the initial beta: - Named Arguments is now implemented and documented as a new feature in this release. The beta supports the feature, but was left

Re: Beta 2.108.0

2024-03-21 Thread Andrea Fontana via Digitalmars-d-announce
On Thursday, 21 March 2024 at 03:19:16 UTC, Salih Dincer wrote: On Thursday, 21 March 2024 at 02:14:36 UTC, WebFreak001 wrote: On Saturday, 2 March 2024 at 17:40:29 UTC, Iain Buclaw wrote: .. since they drastically make things easier (hexstrings) or even possible in the first place (magic

Re: Beta 2.108.0

2024-03-20 Thread Salih Dincer via Digitalmars-d-announce
On Thursday, 21 March 2024 at 02:14:36 UTC, WebFreak001 wrote: On Saturday, 2 March 2024 at 17:40:29 UTC, Iain Buclaw wrote: .. since they drastically make things easier (hexstrings) or even possible in the first place (magic initializer thingies) for library code and generated code. I

Re: Beta 2.108.0

2024-03-20 Thread WebFreak001 via Digitalmars-d-announce
On Saturday, 2 March 2024 at 17:40:29 UTC, Iain Buclaw wrote: Glad to announce the first beta for the 2.108.0 release, ♥ to the 35 contributors. This release comes with 7 major changes and 48 fixed Bugzilla issues, including: - In the language, support has been added for Interpolated

Re: Beta 2.108.0

2024-03-20 Thread Anonymouse via Digitalmars-d-announce
On Saturday, 2 March 2024 at 17:40:29 UTC, Iain Buclaw wrote: [...] Named arguments for functions have been implemented and documented Yay, I was really looking forward to this. I currently use `std.typecons.Flag` virtually *everywhere* to make sure I don't confuse parameters. ```d auto

Re: Beta 2.108.0

2024-03-20 Thread Sönke Ludwig via Digitalmars-d-announce
Am 16.03.2024 um 11:31 schrieb Daniel N: ```d union U {     float asFloat;     uint asInt; } auto u0 = U(1.0); // this sets the `asFloat` field auto u1 = U(asInt: 0x3F80); // formerly not possible ``` Wow, this is so cool, can't wait to try it out, thanks to everyone who made it happen!

Re: Beta 2.108.0

2024-03-16 Thread Lance Bachmeier via Digitalmars-d-announce
On Saturday, 16 March 2024 at 09:26:20 UTC, Iain Buclaw wrote: The RC for 2.108 has been released, which includes the following changes from the initial beta: - Named Arguments is now implemented and documented as a new feature in this release. The beta supports the feature, but was left

Re: Beta 2.108.0

2024-03-16 Thread Daniel N via Digitalmars-d-announce
On Saturday, 16 March 2024 at 09:26:20 UTC, Iain Buclaw wrote: The RC for 2.108 has been released, which includes the following changes from the initial beta: - Named Arguments is now implemented and documented as a new feature in this release. The beta supports the feature, but was left

Re: Beta 2.108.0

2024-03-16 Thread Iain Buclaw via Digitalmars-d-announce
The RC for 2.108 has been released, which includes the following changes from the initial beta: - Named Arguments is now implemented and documented as a new feature in this release. The beta supports the feature, but was left undocumented while some remaining issues were being fixed. -

Beta 2.108.0

2024-03-02 Thread Iain Buclaw via Digitalmars-d-announce
Glad to announce the first beta for the 2.108.0 release, ♥ to the 35 contributors. This release comes with 7 major changes and 48 fixed Bugzilla issues, including: - In the language, support has been added for Interpolated Expression Sequences. - In phobos, std.uni has been upgraded to