[GHC] #14076: cons operator for list give weird output
GHC
ghc-devs at haskell.org
Tue Aug 1 17:56:20 UTC 2017
#14076: cons operator for list give weird output
-------------------------------------+-------------------------------------
Reporter: AshHash | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 8.2.1
Keywords: cons(:) | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
on typing the following command in ghci\\
:t 1:2\\
I get the output\\
(Num [a], Num a) => [a]\\
While running the same on char like follows, gives me an error:\\
:t 'a':'b'
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14076>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list