Hi I have a program that returns int*int
(Example for illustration purposes): fun program(a,b) = (1,2)
I want to do something along the lines:
fun program(a,b)
if a = 0 then (1,2)
else
val x,y = program(a-1,b)
return (x-1, y)
Basically, I want to manipulate the tuple that is returned, and then return a modification of it.
Thanks