[ ghc-Bugs-1195579 ] IntMap.split wrong split

SourceForge.net noreply at sourceforge.net
Wed May 4 19:21:42 EDT 2005


Bugs item #1195579, was opened at 2005-05-04 16:18
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1195579&group_id=8032

Category: hslibs/data
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: IntMap.split wrong split

Initial Comment:
"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) 
 
Christian  
  
choener at cebitec.uni-bielefeld.de  
  

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-05-04 16:21

Message:
Logged In: NO 

Of course, it is with (fst) (and the Intmap contains more  
than one element, three in my case)  
  
"keys $ fst $ split 5 $ theMap"  
  
Christian 
choener at ... 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1195579&group_id=8032



More information about the Glasgow-haskell-bugs mailing list