JuliaSymbolics/SymbolicUtils.jl

`nameof(f)` not defined for all functors

baggepinnen opened this issue · 0 comments

isbinop(f) = istree(f) && !istree(operation(f)) && Base.isbinaryoperator(nameof(operation(f)))

SymbolicUtils often calls nameof on functions, but when a callable struct appears as the argument to nameof, this fails.