Skip to content

Commit cdabf24

Browse files
committed
Remove unused map! code
1 parent a247c69 commit cdabf24

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/base.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import Base:
1717
iterate,
1818
length,
1919
map,
20-
map!,
2120
mapfoldl,
2221
mapfoldr,
2322
mapreduce,
@@ -183,15 +182,6 @@ function filter_map!(
183182
return nothing
184183
end
185184

186-
"""
187-
map!(f::Function, stack, tree::Node)
188-
189-
Apply a function to each node in a tree, storing the results in `stack`.
190-
The stack must be preallocated to the correct size. If uncertain about
191-
the correct size, use `filter_map` instead.
192-
"""
193-
map!(f::Function, stack, tree::Node) = filter_map!(Returns(true), f, stack, tree)
194-
195185
"""
196186
filter(f::Function, tree::Node)
197187

0 commit comments

Comments
 (0)