This definition, however, is not exported. It seems a shame to use construct the qualified name string, just to use fromString (i.e., parseName) to pull it back apart. Is there another easy and fast way to get the equivalent of mkQualified? Alternatively, would there be any harm in exporting mkQualified and mkUnqualified?
I often have a module name and unqualified name as strings and want to combine them into a
HermitName
. I use the following utility:I poked around in
HERMIT.Name
, where I see the following, which looks like what I want:This definition, however, is not exported. It seems a shame to use construct the qualified name string, just to use
fromString
(i.e.,parseName
) to pull it back apart. Is there another easy and fast way to get the equivalent ofmkQualified
? Alternatively, would there be any harm in exportingmkQualified
andmkUnqualified
?