
) => Js.Promise.t(Belt.Result.t(int, exn))">Result.Promise.flatMap</span>(<span class='pattern-ident' data-type="int">x</span> =&gt; <span class='ident' data-type="int => Belt.Result.t(int, exn)">Result.return</span>(<span class='ident' data-type="int">x</span> <span class='operator' data-type="(int, int) => int">+</span> <span class='int' data-type="int">10</span>))
  <span class='operator' data-type="(
  Js.Promise.t(Belt.Result.t(int, exn)),
  Js.Promise.t(Belt.Result.t(int, exn)) => Js.Promise.t(
    B