Oops. The 4 should also be a 5. And it looks like there's an off by 1 error
in circular-while since only 2 calls yield f before it breaks.. Or the docs
should be rephrased.
Le 28 juil. 2013 04:47, "Doug Coleman" <notifications@github.com> a écrit :

> In basis/circular/circular-tests.factor:
>
> > @@ -42,3 +42,9 @@ IN: circular.tests
> >          swap growing-circular-push
> >      ] with each >array
> >  ] unit-test
> > +
> > +[ V{ 1 2 3 1 2 } ] [
> > +    { 1 2 3 } <circular> V{ } [
> > +        [ [ push ] [ length 4 < ] bi ] curry circular-while
>
> Your test is for circular-while not circular-while*?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/slavapestov/factor/pull/920/files#r5439127>
> .
>