--- 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