At the moment the interpreter doesn't allow users doing any operation over values inside AIR scripts. It's a really huge limitation that is partially solvable now with peer builtins, but it is not an optimal, transparent, and handy solution.
Design of functors is in the research stage.
Progress:
[x] length functor (#315)
[ ] math functors
[ ] research which kinds of functors keep determinism and convergence
At the moment the interpreter doesn't allow users doing any operation over values inside AIR scripts. It's a really huge limitation that is partially solvable now with peer builtins, but it is not an optimal, transparent, and handy solution.
Design of functors is in the research stage.
Progress: