Skip to content

Make the interface of traceTc and traceRn the same

It always seemed strange to me that the interfaces for traceTc and traceRn were different.

traceTc :: String -> SDoc -> TcM ()
traceRn :: SDoc -> RnM ()

I personally prefer using the traceTc interface and have to look up each time which function uses which interface. It seems beneficial but annoying to make traceRn have the same interface to improve usability slightly.

Are there any objections if someone was to do this?

Trac metadata
Trac field Value
Version 8.0.1
Type Task
TypeOfFailure OtherFailure
Priority lowest
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