[GHC] #11975: New GHCi command to print out the type of an expression without instantiating
GHC
ghc-devs at haskell.org
Sat Apr 23 02:35:42 UTC 2016
#11975: New GHCi command to print out the type of an expression without
instantiating
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner:
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: GHCi | Version: 8.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
#11376 changed the meaning of `:type` to deeply instantiate a type before
printing. This means that we can't see which variables were specified and
which were inferred.
I propose `:type-spec` (please suggest a better name) that does not
instantiate first.
Phab patch to be posted shortly.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11975>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list