Getting a total from a user defined variable
John Chapman
johnch_atms at hotmail.com
Thu Apr 20 21:28:48 UTC 2023
On Thursday, 20 April 2023 at 19:41:21 UTC, Joel wrote:
> // how do I get the total of ages added together?
p.map!(x => x.age).sum();
More information about the Digitalmars-d-learn
mailing list