"modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">mapOpt</span><span class="tparams">[<span name="B">B</span>]</span><span class="params">(<span name="f">f: (<span name="provingground.learning.TruncatedDistribution.Scaled.A" class="extype">A</span>) =&gt; <span name="scala.Option" class="extype">Option</span>[<span name="provingground.learning.TruncatedDistribution.mapOpt.B" class="extype">B</span>]</span>)</span><span class="result">: <a href="TruncatedDistribu