-
terminating condition for iterators
not sure why the below does not work as it keeps causing crash in Jupyter Notebook?
{8>count x}{x,sum -2#x}\[0 1]
I understand the condition to terminate iteration can be placed inside function input, e.g. f[{condition};input] or {condition}f[input], for example this works as given in the notebook : {1000 > max x}{(+)prior x,0}\ 1
in general what is recommended ways to write conditions for terminating the “loop”/iteration ?
Thanks,
Log in to reply.