[GHC] #11639: `:print` being wacky
GHC
ghc-devs at haskell.org
Tue Mar 29 11:09:46 UTC 2016
#11639: `:print` being wacky
-------------------------------+----------------------------------------
Reporter: TheKing42 | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.10.3
Resolution: fixed | Keywords:
Operating System: Linux | Architecture: Unknown/Multiple
Type of failure: GHCi crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------+----------------------------------------
Changes (by bgamari):
* status: new => closed
* resolution: => fixed
* milestone: => 8.0.1
Comment:
This appears to be fixed in 8.0,
{{{
$ ghci
GHCi, version 8.0.0.20160328: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/ben/.ghci
λ> let x = 1:x
λ> :print x
x = (_t1::Num a => [a])
λ> head _t1
<interactive>:3:6: error:
• No instance for (Num a) arising from a use of ‘_t1’
• In the first argument of ‘head’, namely ‘_t1’
In the expression: head _t1
In an equation for ‘it’: it = head _t1
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11639#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list