
#13547: Lint error in arrows program -------------------------------------+------------------------------------- Reporter: cipher1024 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 (CodeGen) | Resolution: | Keywords: Arrows Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: 10158 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
If so, the Core Lint error is somewhat understandable
Yes, but if existentials are not valid in arrow notation, the typechecker should reject the program cleanly, rather than producing invalid Core. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13547#comment:33 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler