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@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
--------------------------------------------------------------------------