I have a list of entries:
list_clients = [{name = "c6"; number = 9}; {name = "c12"; number = 3}; {name = "c17"; number = 6};]
I would just like to make the sum of the total "number" of each record.
What is the best way? I am new to OCaml.
source share