Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
feba77bf
Commit
feba77bf
authored
9 years ago
by
Edward Z. Yang
Browse files
Options
Downloads
Patches
Plain Diff
More documentation on ComponentLocalBuildInfo.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
d80d2b04
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Cabal/Distribution/Simple/LocalBuildInfo.hs
+13
-0
13 additions, 0 deletions
Cabal/Distribution/Simple/LocalBuildInfo.hs
with
13 additions
and
0 deletions
Cabal/Distribution/Simple/LocalBuildInfo.hs
+
13
−
0
View file @
feba77bf
...
...
@@ -319,11 +319,24 @@ data ComponentLocalBuildInfo
-- satisfied in terms of version ranges. This field fixes those dependencies
-- to the specific versions available on this machine for this compiler.
componentPackageDeps
::
[(
UnitId
,
PackageId
)],
-- | The computed 'UnitId' which uniquely identifies this
-- component.
componentUnitId
::
UnitId
,
-- | Compatibility "package key" that we pass to older versions of GHC.
componentCompatPackageKey
::
String
,
-- | Compatability "package name" that we register this component as.
componentCompatPackageName
::
PackageName
,
-- | A list of exposed modules (either defined in this component,
-- or reexported from another component.)
componentExposedModules
::
[
Installed
.
ExposedModule
],
-- | Convenience field, specifying whether or not this is the
-- "public library" that has the same name as the package.
componentIsPublic
::
Bool
,
-- | The set of packages that are brought into scope during
-- compilation, including a 'ModuleRenaming' which may used
-- to hide or rename modules. This is what gets translated into
-- @-package-id@ arguments. This is a modernized version of
-- 'componentPackageDeps', which is kept around for BC purposes.
componentIncludes
::
[(
UnitId
,
ModuleRenaming
)]
}
|
ExeComponentLocalBuildInfo
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment