type lambda to use Sequence with a ValidationNel