mage
mage copied to clipboard
[BUG] - Distance calculator single/multiple should be a function
Describe the bug
Distance calculator single and multiple returns just a single result and should be a function since it is much easier to call a pure function that you can reuse in the WITH instead of using CALL and YIELD
In general, this is a very common request (provide something both as a function and procedure), I think we should consider that whenever we add a new function or procedure (it's not always possible, but in a lot of cases it is) 🤔