[GHC] #7727: Nonsense evaluation: sequence [] = []

GHC cvs-ghc at haskell.org
Thu Feb 28 01:26:38 CET 2013


#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



More information about the ghc-tickets mailing list