; &gt;&gt;= get_details &gt;&gt;= get_address;;
- : string option = Some &quot;123 Foo St&quot;

# (* It's also trivial to turn this into a function with kliesli composition,
     which can makes things easier to read: *)
  let fetch_user_address = fetch_user &gt;=&gt; get_details &gt;=&gt; get_address;;
val fetch_user_address : string -&gt; string option = &lt;fun&gt;

# fetch_user_address &quot;Risto&quot;;;
- : string option = Some &quot;123 Foo St&quot;</code></pre><p>As you can see in the example, <cod