
<a href="#basic" id="basic"><h3>Basic</h3></a><div class='code-block' data-block-syntax="re">
  
  <pre class='code' data-block-id='2' id='block-2'><code>let <span class='pattern-ident' data-type="int">r</span> =
  <span class='ident' data-type="int => Belt.Result.t(int, 'a)">Result.return</span>(<span class='int' data-type="int">20</span>)
  <span class='operator' data-type="(
  Belt.Result.t(int, 'a),
  Belt.Result.t(int, 'a) => Belt.Result.t(
    int,
    'a
  )
) => Belt.Result.t(int, 'a)">|&gt;</span>