I have list of map of orders that contain
%{price, order_details} I wanted to get the total_price in that orders and I also want to return and array of changeset that was build using the order_details of each element in that map. I can't find a way to do it without using one reduce and one map but that is two trip in to the list. it is that a good practice in functional programming?