diff -r 6dfa8001eed2 -r f8be66557e0f src/Metaprogramming.jl --- a/src/Metaprogramming.jl Wed Dec 15 01:09:09 2021 +0200 +++ b/src/Metaprogramming.jl Wed Dec 22 11:13:38 2021 +0200 @@ -35,7 +35,7 @@ Does `foldl` on the `Expr`s in `a` with the `f`, a `Function` or another `Expr` representing a function. Returns new `Expr` with the expanded `foldl` operation. """ -function foldl_exprs(f :: Expr, a) +function foldl_exprs(f :: Union{Expr,Symbol}, a) return foldl((b, c) -> :($f($b, $c)), a) end