[GHC] #5840: GHC-7.2.1 with dph package
GHC
cvs-ghc at haskell.org
Thu Feb 2 19:55:20 CET 2012
#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
More information about the Glasgow-haskell-bugs
mailing list