title: Does Scalaz have something to accumulate in both error and success?
body: <p>I started to use Scalaz 7 Validation and/or disjunction to process a list of possibly failing operation and managing their result.</p>
  
  <p>There is two well documented case for that kind of use cases:</p>
  
  <p>1/ You want to check a list of conditions on something, and accumulate each error if any. Here, you always go the end of list, and in case of any error, you have failure as global result. 
  And that's an applicative functor at work.</p>
  
  <p>2/ You want to execute several steps that may fail, and stop on the first one failing. 
  Here, we have a monad that goes nicely in Scala for-comprehension. </p>
  
  <p>So, I have two other use cases  that are among the same lines, but don't seems to feet well on any precedent case:
  I want to process a list of step, possibly failing, and accumulate both error and success results (ex: it's a list of modification on files, errors may happen because that's the outer world, and success are patch that I want to keep for later).</p>
  
  <p>The difference on the two use case is only if I want to stop early (on the first error) or go to the end of the list. </p>
  
  <p>OK, so what is the correct thing for that ?</p>
  
  <p>(writting the question leads me to think that it's just a simple foldLeft, does it ? I will let the question here to validate, and if anybody else wonder)</p>