[GHC] #3452: Show type of most recent expression in GHCi
GHC
trac at galois.com
Sun Aug 23 01:24:31 EDT 2009
#3452: Show type of most recent expression in GHCi
-----------------------------+----------------------------------------------
Reporter: ozy | Owner:
Type: feature request | Status: new
Priority: normal | Component: GHCi
Version: 6.10.4 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
Currently, any expression resulting in a value with no `Show` instance
results in an error message. This is confusing for new users (especially
if they don't yet understand typeclasses) and overly verbose for
experienced users. Instead, the REPL should simply display the type of the
expression, as if the user had used `:t`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3452>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list