A bug in IntMap

Simon Peyton-Jones simonpj at microsoft.com
Wed Jul 6 05:49:28 EDT 2005

Dear library folk,

Christian posted a bug to Sourceforge concerning the IntMap library,
function split.

Can anyone shed any light?  Better still, fix it?  Simon and I have too
many other bugs to nail for 6.4.1




"keys $ split 5 $ theMap" sometimes returns values 
greater 5. 

I am still trying to pinpoint the bug, but since it 
shows itself only deep inside a complicated 
structure, I have 
problems doing so. 
One pointer might be, that my values are partially 
evaluated functions, but this is only a guess. 

(Changing the data structure to Data.Map restores 
normal operation in my algorithm)

More information about the Libraries mailing list