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
a6f8b196
Commit
a6f8b196
authored
Mar 31, 2016
by
Edward Z. Yang
Browse files
Document prefix in IndexConversion.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
69430806
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Dependency/Modular/IndexConversion.hs
View file @
a6f8b196
...
...
@@ -126,7 +126,11 @@ convGPD os arch cinfo strfl pi
in
PInfo
flagged_deps
fds
Nothing
prefix
::
(
FlaggedDeps
comp
qpn
->
FlaggedDep
comp'
qpn
)
->
[
FlaggedDeps
comp
qpn
]
->
FlaggedDeps
comp'
qpn
-- | Create a flagged dependency tree from a list @fds@ of flagged
-- dependencies, using @f@ to form the tree node (@f@ will be
-- something like @Stanza sn@).
prefix
::
(
FlaggedDeps
comp
qpn
->
FlaggedDep
comp'
qpn
)
->
[
FlaggedDeps
comp
qpn
]
->
FlaggedDeps
comp'
qpn
prefix
_
[]
=
[]
prefix
f
fds
=
[
f
(
concat
fds
)]
...
...
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