J: How to effectively apply a verb to suffix prefixes?

I have a list

   n =: i.3

and I want to be an adverb a , to uan applied u to the suffixes, prefixes n

   <a n
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”
β”‚β”Œβ”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”β”‚β”Œβ”€β”¬β”€β”€β”€β”β”‚β”Œβ”€β”β”‚
β”‚β”‚0β”‚0 1β”‚0 1 2β”‚β”‚β”‚1β”‚1 2β”‚β”‚β”‚2β”‚β”‚
β”‚β””β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜β”‚β””β”€β”΄β”€β”€β”€β”˜β”‚β””β”€β”˜β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”˜

I wrote a sentence that gives the desired result for the verb < :

   ([: <@]\&.> <@]\.) n
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”
β”‚β”Œβ”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”β”‚β”Œβ”€β”¬β”€β”€β”€β”β”‚β”Œβ”€β”β”‚
β”‚β”‚0β”‚0 1β”‚0 1 2β”‚β”‚β”‚1β”‚1 2β”‚β”‚β”‚2β”‚β”‚
β”‚β””β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜β”‚β””β”€β”΄β”€β”€β”€β”˜β”‚β””β”€β”˜β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”˜

but I cannot understand how to make an adverb to use it with any verb.

I see a different approach to this problem:

   a =: \\.
   <a n
β”Œβ”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”
β”‚0β”‚0 1β”‚0 1 2β”‚
β”œβ”€β”Όβ”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚1β”‚1 2β”‚     β”‚
β”œβ”€β”Όβ”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚2β”‚   β”‚     β”‚
β””β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜
   ([: < (a: ~: ]) # ])"1(<a n)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”
β”‚β”Œβ”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”β”‚β”Œβ”€β”¬β”€β”€β”€β”β”‚β”Œβ”€β”β”‚
β”‚β”‚0β”‚0 1β”‚0 1 2β”‚β”‚β”‚1β”‚1 2β”‚β”‚β”‚2β”‚β”‚
β”‚β””β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜β”‚β””β”€β”΄β”€β”€β”€β”˜β”‚β””β”€β”˜β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”˜

but it is also written specifically for < and may be ineffective. And I still can’t understand how to make an adverb.

It will be even better if I get the following result:

   <a n
β”Œβ”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”¬β”€β”€β”€β”¬β”€β”
β”‚0β”‚0 1β”‚0 1 2β”‚1β”‚1 2β”‚2β”‚
β””β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”΄β”€β”€β”€β”΄β”€β”˜

For instance:

   (10&#.)a n
0 1 12 1 12 2

Help me please. Thanks in advance.

+4
1

() . Spread (S:), 0.

.

<\ each <\. n
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”
β”‚β”Œβ”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”β”‚β”Œβ”€β”¬β”€β”€β”€β”β”‚β”Œβ”€β”β”‚
β”‚β”‚0β”‚0 1β”‚0 1 2β”‚β”‚β”‚1β”‚1 2β”‚β”‚β”‚2β”‚β”‚
β”‚β””β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜β”‚β””β”€β”΄β”€β”€β”€β”˜β”‚β””β”€β”˜β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”˜
< S:0 <\ each <\. n
β”Œβ”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”¬β”€β”€β”€β”¬β”€β”
β”‚0β”‚0 1β”‚0 1 2β”‚1β”‚1 2β”‚2β”‚
β””β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”΄β”€β”€β”€β”΄β”€β”˜

+/ S:0 <\ each <\. n
0 1 3 1 3 2

(10&#.)  S:0 <\ each <\. n
0 1 12 1 12 2

, a :

a =: 1 :'u S: 0 ([: <\&.><\.) y'

() , @Tikkanz , S: :

a=: 1 : ';@([: u\&.> <@]\.)'

a=: 1 : ';@(<@(u\)\.)'
+3

All Articles