|Say I have a function, f, to which I pass multiple values and which returns more than 1 value.|
One way I have found to do this is as follows:
Is there a better way to do this, where I can pass in the function, its arguments and the variables into which I want the return values stuffed?
(def func1 (a b c) ... (list x y))
(= result (func1 a b c))
(= latitude (pop result))
(= longitude (pop result))