David Vaughan-5 wrote:
>
>
> Thanks. My only problem is that I need to apply the verb like x f y. The
> list is in the form
>
> x y
> x y
> x y
>
> So is there a way I can apply f monadically in some sort of tacit way or
> do I need use some sort of combination of {. {: and \ (which escapes me)
> in order to apply the verb correctly?
>
There is also this:
f/"_1@:(p/"_1 # ]) data
For instance:
+/"_1@:(</"_1 # ]) 3 2$1 2 3 4 5 5
3 7
> On 16 Sep 2011, at 07:27, Aai wrote:
>
>>
>>> ;({.,.i.)&.>1+i.24
>> should be:
>>
>> ;(,.i.)&.>1+i.5
>>
>> --
>> Met vriendelijke groet,
>> =@@i
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
--
View this message in context:
http://old.nabble.com/Get-all-pairs-of-integers-tp32474637s24193p32479065.html
Sent from the J Programming mailing list archive at Nabble.com.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm