Hello,Is there a way to cleanly do infinite tail calls with multipleparameters?I quickly bump into the stack limit:q)f:{f x+1}q)f 0’stack@{f x+1}2001Thanks,Leon
maybe iterate and converge can help you
http://code.kx.com/wiki/Reference/BackSlash#iterate
On 29 July 2014 15:23 UTC, Charles Skelton wrote:> maybe iterate and converge can help you> http://code.kx.com/wiki/Reference/BackSlash#iterate> http://code.kx.com/wiki/Reference/Slash>Thanks, Charles. The monadic over with an always true while conditionworks pretty well:q){a:x 0;b:x 1;(a+1;b-0.1)}/[{1b};(0i;0f)] C-c C-c{a:x 0;b:x 1;(a+1;b-0.1)}'stopq))(a;b)(4740430;-474043f)