Open sjakobi opened 6 years ago
Currently we have the following definition.
type DocIdEnv = Map HsDocString [Name]
But many/most? Names carry their original source text in their OccName. For those Names we don't need to keep the HsDocString.
Name
OccName
HsDocString
mpickering cautioned that switching to a more complex data structure would make the code less readable.
Let's wait until we find this to be an important problem then.
Currently we have the following definition.
But many/most?
Name
s carry their original source text in theirOccName
. For thoseName
s we don't need to keep theHsDocString
.