On Wednesday, November 6, 2019 at 6:50:24 AM UTC-6, Ralf Hemmecke wrote: > > Oh, I must have missed this. Obviously, the FriCAS compiler > allows "until" as a keyword. > > https://github.com/fricas/fricas/blob/master/src/algebra/ffpoly.spad#L250 > > I guess the meaning of > > until x repeat y > > is > > while not x repeat y > > Right? > > I'm not aware that "until" is documented. Am I wrong? > > Ralf >
I do not know about FriCAS. but I think the difference is that "until x repeat y" the test is done at end of loop but in "while not x repeat y" the test is done at start of loop. So "until x repeat y" will loop at least one time. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/c9baaa58-e7c4-4dab-8910-fd32f83101ac%40googlegroups.com.
