Gentleman, good afternoon! And what is the reason that the RSS of
Announce Forum has not been working since May? XML is broken and
ends like this:
"
<p>This is record. It aims to implement records similar to
what C# has by leveraging D's metaprogramming. <a
rel="nofollow" href="https://docs.
microsoft.com/en-us/dotnet/csharp/fundamentals/types/records">C# Example 1</a> <a
rel="nofollow" href="https://docs.microsoft.com/en-us/dotn
et/csharp/whats-new/tutorials/records">C# Example
2</a>.</p>
<p>Future steps are going to be adding a record struct;
default value support; init-only-setters like in C#, wherein at
the end of construction or
duplication, the init lambda for the field is called, and the
field can be set that once.</p>
<p>Example:</p>
<pre><code class="language-D">import drecord;
alias MyRecord = record!(
get!(int, &quot;x&quot;), /// x is an int, can only
be set during construction
get_set!(float, &quot;y&quot;), /// y is a float, can
be get or set whenever
property!(&quot;getDoubleOfX&quot;, (r) =&gt; r.x
* 2), /// a property that returns the double of x
....
.................
</code></pre>
</div></content></entry></feed>
"
Thank you!