#5840: GHC-7.2.1 with dph package
------------------------------+---------------------------------------------
 Reporter:  mukesh.tiwari     |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.2.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------

Comment(by mukesh.tiwari):

 Remove the if else condition from binary search and code works fine.
 | lo I.>= hi = if lo I.== len then ( lo I.- 1 ) else lo --replace this
 whole line with lo or hi and it works fine.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5840#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to