Or, for people on systems where 'whereDefined' is not defined:

   (4!:3 bind '' {::~ 4!:4) <'each'

Speaking of which, 'bind' is [in my opinion] a commonly used "cover
function" (though it's not a verb, and could also be called a "meta
function").


-- 
Raul


On Mon, Jan 9, 2012 at 12:41 PM, Tom Szczesny <[email protected]> wrote:
> I guess that the answer to that question is found by:
>
>   whereDefined 'each'
> /home/tom/jgplsrc/j/system/main/stdlib.ijs
>
>
> On Mon, Jan 9, 2012 at 12:23 PM, Tom Szczesny <[email protected]> wrote:
>
>> Yes, I should have asked J.
>> Who knew that there was a cover function (each) for   &.>   ?
>>
>> Or that each concept was expressed by        &.>        ?
>>
>> What other commonly used cover functions exist?
>> (each is not listed in the Index.)
>>
>>
>> 2012/1/9 Björn Helgason <[email protected]>
>>
>>> 2012/1/9 Tom Szczesny <[email protected]>
>>>
>>>
>>> > How do you express
>>> >    <  each  i.7
>>> > and get 7 individually boxed items?
>>> > (I could not find an entry for "each" in the Index, nor in the
>>> Vocabulary.)
>>> >
>>> > You should have asked J
>>>
>>>   <  each  i.7
>>> ┌───┬───┬───┬───┬───┬───┬───┐
>>> │┌─┐│┌─┐│┌─┐│┌─┐│┌─┐│┌─┐│┌─┐│
>>> ││0│││1│││2│││3│││4│││5│││6││
>>> │└─┘│└─┘│└─┘│└─┘│└─┘│└─┘│└─┘│
>>> └───┴───┴───┴───┴───┴───┴───┘
>>>   each
>>> &.>
>>>   <  &.>  i.7
>>> ┌───┬───┬───┬───┬───┬───┬───┐
>>> │┌─┐│┌─┐│┌─┐│┌─┐│┌─┐│┌─┐│┌─┐│
>>> ││0│││1│││2│││3│││4│││5│││6││
>>> │└─┘│└─┘│└─┘│└─┘│└─┘│└─┘│└─┘│
>>> └───┴───┴───┴───┴───┴───┴───┘
>>> ----------------------------------------------------------------------
>>> 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

Reply via email to