Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
7ad384d1
Commit
7ad384d1
authored
Oct 02, 2016
by
Edward Z. Yang
Browse files
Eliminate unused field names of Module constructor
parent
9e8fea3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Package.hs
View file @
7ad384d1
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment