You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a short test for recursion where the entire algorithm only consists of calling the recursive function.
This means after compilation that the recursion operator recur is the last operator in the algorithm, in the sense that its output arc is the output of the #[ohua] invokation itself.
However when I attempt to run this my generated recur_1 function is missing an argument. more precisely it is missing the argument for the channel into which it is supposed to send the result of the computation.
I was able to work around by simply wrapping the entire thing in a ohua::lang::id call, after which the missing argument was correctly provided.
The text was updated successfully, but these errors were encountered:
I wrote a short test for recursion where the entire algorithm only consists of calling the recursive function.
This means after compilation that the recursion operator
recur
is the last operator in the algorithm, in the sense that its output arc is the output of the#[ohua]
invokation itself.However when I attempt to run this my generated
recur_1
function is missing an argument. more precisely it is missing the argument for the channel into which it is supposed to send the result of the computation.I was able to work around by simply wrapping the entire thing in a
ohua::lang::id
call, after which the missing argument was correctly provided.The text was updated successfully, but these errors were encountered: