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

Document prefix in IndexConversion.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 69430806
......@@ -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)]
......
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