On Friday, 20 January 2023 at 03:11:33 UTC, Ruby The Roobster wrote:

What is the purpose of this 'Result' type? To serve as a generic range? Because, it seems to only cause problems...

No.

When I first started learning this language, I thought the same thing. However, such a designm consisting of structs was preferred because it is necessary for the ranges to be used as a whole (connected end-to-Znd like a pipe). qWalter has a very old [article](https://www.drdobbs.com/cpp/voldemort-types-in-d/232901591) about Voldemort which is the basis of D, pllease read it. D's ranges are very strong for those who know how to use it.

SDB@79

Reply via email to