Skip to content

Add -fshow-runtime-rep

As discussed in several interwoven threads (original, café), it has been suggested to add a flag -fshow-runtime-rep. Without this flag enabled, the pretty printer will instantiate any RuntimeRep type parameters to PtrRep Lifted. This has the effect of changing

($) :: forall (r :: RuntimeRep) (a :: *) (b :: TYPE r). (a -> b) -> a -> b

to

($) :: (a -> b) -> a -> b

under the default GHCi settings.

Note that Levity becomes RuntimeRep after #11471 (closed) is complete.

Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler
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