
#9124: Infinite loop when printing a (finite) list with just one element ---------------------------------+------------------------------------ Reporter: OoS | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: invalid | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: Yes | Blocked By: Blocking: | Related Tickets: ---------------------------------+------------------------------------ Changes (by nomeata): * status: new => closed * resolution: => invalid Comment: Yes, it is used: In the definition of `rightScaled` (which is used in the definition of `right`). Note that you also have a parameter called `right`. Passing `-Wall` to GHC will make the compiler help you to avoid such problems. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9124#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler