I will give a simplified code to explain my question easily:

* I have a user balance i.e. `val balance = 10`
* I have a list of data to iterate through using `for(elem <- dataList) yield (interest(elem, balance))`.
	+ In my case interest is a method which will perform calculations on the given arguments and return a number which will be: **provided balance+the calculated interest**.

How can I use this newly returned value for the next element in my data list in yield so I could keep up-to-date my balance for the next elements in the list? 

i.e. `for(elem <- dataList) yield (interest(elem, newBalanceFromPreviousYield))`