You cant overload functions since everything is TGraalVar in the basic sense. You could have an if statement in a function to check the type of the parameter, but doing that is bad (I've tried it) since variables aren't always what they're supposed to be. Better to sick with separate functions. Though I would like it if the
params array was present for all functions and not just actions.
What I would like is Custom Object Types

And the ability to add global functions.
I have yet to see an actual demonstration of function objects though I would like it very much.