
#14076: cons operator for list give weird output -------------------------------------+------------------------------------- Reporter: AshHash | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: GHCi | Version: 8.2.1 Resolution: invalid | Keywords: cons(:) Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata):
I reopen the ticket for a discussion
There is no reason to reopen a ticket, just to have a discussion. The ticket is closed as invalid right now, and we are still having a discussion here. If the discussion comes to a conclusion that there is something to be done, then someone will change the status of the ticket accordingly.
Maybe the error message needs to be improved?
Which error message? He was observing {{{ :t 1:2 (Num [a], Num a) => [a] }}} which (rightly) does not produce any error message. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14076#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler