yes" data-isabs="false" visbl="pub"><a id="compose[A](g:A=&gt;T1):A=&gt;R"></a><a id="compose[A]((A)=&gt;Typ[Term]):(A)=&gt;Option[Term]"></a> <span class="permalink"><a href="../../provingground/learning/TermRandomVars$$TypAsTermOpt$.html#compose[A](g:A=&gt;T1):A=&gt;R" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">compose</span><span class="tparams">[<spa