Skip to content

Commit c1c2421

Browse files
committed
document the order
1 parent b020163 commit c1c2421

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/functor.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ fmapstructure(f, x; kwargs...) = fmap(f, x; walk = (f, x) -> map(f, children(x))
149149
fcollect(x; exclude = v -> false)
150150
151151
Traverse `x` by recursing each child of `x` as defined by [`functor`](@ref)
152-
and collecting the results into a flat array.
152+
and collecting the results into a flat array, ordered by a breadth-first
153+
traversal of `x`, respecting the iteration order of `children` calls.
153154
154155
Doesn't recurse inside branches rooted at nodes `v`
155156
for which `exclude(v) == true`.

0 commit comments

Comments
 (0)