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
399e54a4
Commit
399e54a4
authored
Oct 03, 2016
by
Edward Z. Yang
Browse files
Update toComponentsGraph comment.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
c2870d7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Backpack/ComponentsGraph.hs
View file @
399e54a4
...
...
@@ -34,11 +34,10 @@ dispComponentsGraph graph =
(
vcat
[
text
"dependency"
<+>
disp
cdep
|
cdep
<-
cdeps
])
|
(
c
,
cdeps
)
<-
graph
]
-- | Given the package description and the set of package names which
-- are considered internal (the current package name and any internal
-- libraries are considered internal), create a graph of dependencies
-- between the components. This is NOT necessarily the build order
-- (although it is in the absence of Backpack.)
-- | Given the package description and a 'PackageDescription' (used
-- to determine if a package name is internal or not), create a graph of
-- dependencies between the components. This is NOT necessarily the
-- build order (although it is in the absence of Backpack.)
toComponentsGraph
::
ComponentRequestedSpec
->
PackageDescription
->
Either
[
ComponentName
]
ComponentsGraph
...
...
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