
#7727: Nonsense evaluation: sequence [] = [] ---------------------------------+------------------------------------------ Reporter: drb226 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.6.2 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by igloo): * difficulty: => Unknown * component: Compiler => GHCi Comment: It's doing this: {{{ Prelude> sequence [] :: IO [()] [] }}} We do document this (http://www.haskell.org/ghc/docs/7.6.1/html/users_guide/interactive- evaluation.html) but perhaps we should be clearer about precisely how statements are typechecked and executed at the GHCi prompt. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7727#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler