I have a list of these objects ```class MyDataObj ...
# getting-started
d
I have a list of these objects
Copy code
class MyDataObj (
	var a : Int
	var b : Int
	var c : Int
)
What is the most simple way to get an object of the same class, where each variables are the sum of variables of the elements in the list?
a
I would probably do a fold across the list w/ a function that accumulates them
1