[Haskell-beginners] How to access non-exported function from Data.Set?

Christoph Bussler chbussler at aol.com
Wed Jun 1 22:56:46 CEST 2011


Hi,

 

In Data.Set there is a function splitLookup

 

splitLookup :: Ord a => a -> Set a -> (Set a,Maybe a,Set a)

 

that is not exported, but would precisely give me the functionality that I
need. Not sure why it is not exported, but is there a way to use it?

Thanks,


Christoph

 

--------------------------------------------------------------------------
Christoph Bussler
ChBussler at aol.com
www.real-programmer.com
www.linkedin.com/in/chbussler
www.google.com/search?hl=en&q=Christoph+Bussler
www.google.com/search?hl=en&q=Christoph%20Bussler&btnI=I%27m+Feeling+Lucky
-------------------------------------------------------------------------- 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110601/8238b72f/attachment.htm>


More information about the Beginners mailing list