[GHC] #3452: Show type of most recent expression in GHCi
GHC
ghc-devs at haskell.org
Sun Sep 1 21:39:42 CEST 2013
#3452: Show type of most recent expression in GHCi
-------------------------------------+------------------------------------
Reporter: ozy | Owner:
Type: feature request | Status: patch
Priority: lowest | Milestone: 7.6.2
Component: GHCi | Version: 6.10.4
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by leroux):
Instead of completely removing the following error.
{{{
λ: id
<interactive>:2:1:
No instance for (Show (a0 -> a0)) arising from a use of `print'
Possible fix: add an instance declaration for (Show (a0 -> a0))
In a stmt of an interactive GHCi command: print it
}}}
I think it would be saner and possibly better to just append the {{{:t}}}
of {{{it}}} to the preceding error message.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3452#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list