dators in the list.</p><p>The initial input is passed to all validators. All these validators must have the same input and output types.</p><p>Returns Ok when all validators pass. Returns Error when any validator fails. Error will have all failures.</p><pre><code class="ml">let validators =
  let open Validator in
  [
    string_is_not_empty &quot;Empty&quot;;
    string_has_min_length 4 &quot;Min&quot;;
    string_has_max_length 20 &quot;Max&quot;;
    string_is_email &quot;Email&quot;;
  ]

let validator 