makeLocalFunctionTree should also support callable foo(entity, x)
currently makeLocalFunctionTree
only considers callables with a signature foo(x)
. These are then transformed into a dune-functions function, which can be localized using localView(f)
. There are valid use-cases where one would like to write a generic lambda with siganature foo(entity, x)
.