Commit 7ad384d1 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Eliminate unused field names of Module constructor

parent 9e8fea3e
......@@ -145,8 +145,7 @@ instance NFData PackageIdentifier where
-- module identities, e.g., when writing out reexported modules in
-- the 'InstalledPackageInfo'.
data Module =
Module { moduleUnitId :: UnitId,
moduleName :: ModuleName }
Module UnitId ModuleName
deriving (Generic, Read, Show, Eq, Ord, Typeable, Data)
instance Binary Module
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment