ghci -interactive-print for types
Motivation
When working with complicated types, e.g. servant routes, it can be hard to visually scan printed type expressions.
Proposal
In ghci
the -interactive-print
option allows one to use user defined functions to print values. We propose that there should be a similar option, allowing the user to specify a function, that will be applied to type expressions whenever they are printed.