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>
&lt;/div&gt;</content></entry></feed>
"
Thank you!
  • Why RSS is not working? Gleb Kulikov via Digitalmars-d-announce

Reply via email to