This seems to have the behaviour I'm looking for, thanks.
I don't understand why though. I can see that each result of f is being stored
in a list as the verb is being applied each time, but I don't understand why
~.@, enables this.
On 20 Nov 2011, at 13:31, Raul Miller wrote:
> You can do
> (~.@, f@{:)^:_ y
>
> But I am not sure how to work <x into this.
>
> --
> Raul
>
> On Sun, Nov 20, 2011 at 5:36 AM, David Vaughan <[email protected]
>> wrote:
>
>> If I'm doing f^:(<x) y, can I write an expression so that f is repeatedly
>> applied to y until the result has come up before?
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm