Commit 399e54a4 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Update toComponentsGraph comment.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent c2870d7e
...@@ -34,11 +34,10 @@ dispComponentsGraph graph = ...@@ -34,11 +34,10 @@ dispComponentsGraph graph =
(vcat [ text "dependency" <+> disp cdep | cdep <- cdeps ]) (vcat [ text "dependency" <+> disp cdep | cdep <- cdeps ])
| (c, cdeps) <- graph ] | (c, cdeps) <- graph ]
-- | Given the package description and the set of package names which -- | Given the package description and a 'PackageDescription' (used
-- are considered internal (the current package name and any internal -- to determine if a package name is internal or not), create a graph of
-- libraries are considered internal), create a graph of dependencies -- dependencies between the components. This is NOT necessarily the
-- between the components. This is NOT necessarily the build order -- build order (although it is in the absence of Backpack.)
-- (although it is in the absence of Backpack.)
toComponentsGraph :: ComponentRequestedSpec toComponentsGraph :: ComponentRequestedSpec
-> PackageDescription -> PackageDescription
-> Either [ComponentName] ComponentsGraph -> Either [ComponentName] ComponentsGraph
......
Markdown is supported
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