Hi Christoph,<br><br><div class="gmail_quote">On 1 June 2011 21:56, Christoph Bussler <span dir="ltr">&lt;<a href="mailto:chbussler@aol.com">chbussler@aol.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<pre><span><font size="2" face="Courier New"><span style="font-size:10.0pt">splitLookup</span></font></span> <span>::</span> <span>Ord</span> <span>a</span> <span>=&gt;</span> <span>a</span> <span>-&gt;</span> <span>Set</span> <span>a</span> <span>-&gt;</span> <span>(</span><span>Set</span> <span>a</span><span>,</span><span>Maybe</span> <span>a</span><span>,</span><span>Set</span> <span>a</span><span>)</span></pre>


<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Not sure why it is not exported, but is there a way
to use it?</span></font></p></blockquote></div><div><br></div>I am afraid you&#39;ll have to define the exact same function yourself, if you really want to use it. As you probably already know, you can copy it from: <a href="http://hackage.haskell.org/packages/archive/containers/0.4.0.0/doc/html/src/Data-Set.html#splitLookup">http://hackage.haskell.org/packages/archive/containers/0.4.0.0/doc/html/src/Data-Set.html#splitLookup</a><div>
<br></div><div>I am not sure as to why it was not exported though. If you describe your use case, maybe you can convince people to make a change, or people can suggest you some other function which fulfils your requirements in some other way.<br>
<br></div><div>HTH,</div><div>Ozgur<br>
</div>