Skip to content

New GHCi command to print out the type of an expression without instantiating

#11376 (closed) 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.

Trac metadata
Trac field Value
Version 8.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information