
#10688: Incorrect program produced, different result with equivalent code -------------------------------------+------------------------------------- Reporter: Ideophage | Owner: Type: bug | Status: closed Priority: lowest | Milestone: Component: Compiler | Version: 7.10.1 Resolution: invalid | Keywords: Operating System: Linux | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by rwbarton): Right, it's not a bug, but it is a confusing consequence of the monomorphism restriction together with defaulting and type inference. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10688#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler