Given a sequence Seq[Matcher[A]]
I want to obtain a single Matcher[A]
that succeeds when all matchers inside the sequence succeed.
Edit
The answer provided by myself seems a bit clumsy and in addition it would be nice if all failing matchers of the sequence produced a result
Ok, I've found a way:
Somehow I thought there has to be a different way, like writing
_.sequence
.