Why RSS is not working?
Gleb Kulikov
gleb.tsk at gmail.com
Thu Jul 15 07:23:31 UTC 2021
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, "x"), /// x is an int, can only
be set during construction
get_set!(float, "y"), /// y is a float, can
be get or set whenever
property!("getDoubleOfX", (r) => r.x
* 2), /// a property that returns the double of x
....
.................
</code></pre>
</div></content></entry></feed>
"
Thank you!
More information about the Digitalmars-d-announce
mailing list