You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/walks.jl
-20
Original file line number
Diff line number
Diff line change
@@ -55,26 +55,6 @@ function execute(walk::AbstractWalk, x, ys...)
55
55
walk(recurse, x, ys...)
56
56
end
57
57
58
-
"""
59
-
AnonymousWalk(walk_fn)
60
-
61
-
Wrap a `walk_fn` so that `AnonymousWalk(walk_fn) isa AbstractWalk`.
62
-
This type only exists for backwards compatability and should not be directly used.
63
-
Attempting to wrap an existing `AbstractWalk` is a no-op (i.e. it is not wrapped).
64
-
"""
65
-
struct AnonymousWalk{F} <:AbstractWalk
66
-
walk::F
67
-
68
-
functionAnonymousWalk(walk::F) where F
69
-
Base.depwarn("Wrapping a custom walk function as an `AnonymousWalk`. Future versions will only support custom walks that explicitly subtype `AbstractWalk`.", :AnonymousWalk)
0 commit comments