This is a good example to  illustrate  &.  And  ^&

 

i=:([: ([: ]/. ]"0/~) |.)&.;:

   i O 

stop            
do stop         
please do stop  
O please do stop
O please do     
O please        
O               

   

   j=:([: ([: ]/. ]"0/~) |.)&;:

   j O 

-------T------T----T----┐
│stop  │      │    │    │
+------+------+----+----+
│do    │stop  │    │    │
+------+------+----+----+
│please│do    │stop│    │
+------+------+----+----+
│O     │please│do  │stop│
+------+------+----+----+
│O     │please│do  │    │
+------+------+----+----+
│O     │please│    │    │
+------+------+----+----+
│O     │      │    │    │
L------+------+----+-----

   

Linda

 

 

 

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Monday, August 24, 2015 2:30 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] oneliner ?

 

Raul,   I like this because Only  &.  Needs special attention.

 

 

           i=:([: ([: ]/. ]"0/~) |.)&.;:

 

   

 

   5!:4 <'i'

 

            -- [:                       

            │    -- [:                  

            │    +- /. --- ]            

       -----+----+                  -- ]

       │    │    L- ~ ---- / --- " -+- 0

-- &. -+    L- |.                       

       L- ;:                            

 

   

 

 

Linda

 

 

-----Original Message-----

From:  <mailto:programming-boun...@forums.jsoftware.com>
programming-boun...@forums.jsoftware.com

[ <mailto:programming-boun...@forums.jsoftware.com>
mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Raul Miller

Sent: Sunday, August 23, 2015 5:13 PM

To: Programming forum

Subject: Re: [Jprogramming] oneliner ?

 

 

My version would be

 

 

   ([: ]/. ]"0/~)&|.&.;:

 

 

Thanks,

 

 

--

 

Raul

 

 

On Sun, Aug 23, 2015 at 3:54 PM, 'Pascal Jasmin' via Programming < <
<mailto:programm...@jsoftware.com> mailto:programm...@jsoftware.com>
<mailto:programm...@jsoftware.com> programm...@jsoftware.com> wrote:

 

> as a shorter verb

 

> 

 

> ([: |.  < <mailto:|./.@:(##,:)&.;:)> mailto:|./.@:(##,:)&.;:)>
<mailto:|./.@:(##,:)&.;:)> |./.@:(##,:)&.;:) 'O do please stop'

 

> 

 

> 

 

> 

 

> ----- Original Message -----

 

> From: Mike Day < < <mailto:mike_liz....@tiscali.co.uk>
mailto:mike_liz....@tiscali.co.uk>

 <mailto:mike_liz....@tiscali.co.uk> mike_liz....@tiscali.co.uk>

 

> To:  < <mailto:programm...@jsoftware.com>
mailto:programm...@jsoftware.com>  <mailto:programm...@jsoftware.com>
programm...@jsoftware.com

 

> Cc:

 

> Sent: Sunday, August 23, 2015 3:46 PM

 

> Subject: Re: [Jprogramming] oneliner ?

 

> 

 

> This seems to please do  what you beg:

 

> 

 

> (Thunderbird will try to prove me wrong, no doubt)

 

> 

 

> |.,.;:inv@:|./.(##,:);:'O do please stop'

 

> 

 

> stop

 

> 

 

> please stop

 

> 

 

> do please stop

 

> 

 

> O do please stop

 

> 

 

> O do please

 

> 

 

> O do

 

> 

 

> O

 

> 

 

> 

 

> Not fully tested,  so it will probably break for some inputs...

 

> 

 

> 

 

> Mike

 

> 

 

> 

 

> On 23/08/2015 20:30, Jose Mario Quintana wrote:

 

>>     NB. Write the following oneliner verb (Odopleasestop) such that:

 

>> 

 

>>        Odopleasestop'O do please stop'

 

>> stop

 

>> please stop

 

>> do please stop

 

>> O do please stop

 

>> O do please

 

>> O do

 

>> O

 

>> 

 

>>        Odopleasestop 'Outrageous politically incorrect 1920s oneliner?'

 

>> ?

 

>> oneliner ?

 

>> 1920s oneliner ?

 

>> incorrect 1920s oneliner ?

 

>> politically incorrect 1920s oneliner ?

 

>> Outrageous politically incorrect 1920s oneliner ?

 

>> Outrageous politically incorrect 1920s oneliner Outrageous

 

>> politically incorrect 1920s Outrageous politically incorrect

 

>> Outrageous politically Outrageous

 

>> 

 

>>     NB. A hint follows after the countdown...

 

>> 

 

>>     ,. @ |. i. 39

 

>> 38

 

>> 37

 

>> 36

 

>> 35

 

>> 34

 

>> 33

 

>> 32

 

>> 31

 

>> 30

 

>> 29

 

>> 28

 

>> 27

 

>> 26

 

>> 25

 

>> 24

 

>> 23

 

>> 22

 

>> 21

 

>> 20

 

>> 19

 

>> 18

 

>> 17

 

>> 16

 

>> 15

 

>> 14

 

>> 13

 

>> 12

 

>> 11

 

>> 10

 

>>   9

 

>>   8

 

>>   7

 

>>   6

 

>>   5

 

>>   4

 

>>   3

 

>>   2

 

>>   1

 

>>   0

 

>> 

 

>>     NB. Use oblique (monadic /.)

 

>> ---------------------------------------------------------------------

 

>> - For information about J forums see

 

>>  < <http://www.jsoftware.com/forums.htm>
http://www.jsoftware.com/forums.htm>

 <http://www.jsoftware.com/forums.htm> http://www.jsoftware.com/forums.htm

 

>> 

 

> 

 

> 

 

> ---

 

> This email has been checked for viruses by Avast antivirus software.

 

>  < <https://www.avast.com/antivirus> https://www.avast.com/antivirus>
<https://www.avast.com/antivirus> https://www.avast.com/antivirus

 

> 

 

> 

 

> ----------------------------------------------------------------------

 

> For information about J forums see  

> < <http://www.jsoftware.com/forums.htm>
http://www.jsoftware.com/forums.htm>

 <http://www.jsoftware.com/forums.htm> http://www.jsoftware.com/forums.htm

 

> ----------------------------------------------------------------------

 

> For information about J forums see  

> < <http://www.jsoftware.com/forums.htm>
http://www.jsoftware.com/forums.htm>

 <http://www.jsoftware.com/forums.htm> http://www.jsoftware.com/forums.htm

 

----------------------------------------------------------------------

 

For information about J forums see  < <http://www.jsoftware.com/forums.htm>
http://www.jsoftware.com/forums.htm>

 <http://www.jsoftware.com/forums.htm> http://www.jsoftware.com/forums.htm

 

----------------------------------------------------------------------

For information about J forums see  <http://www.jsoftware.com/forums.htm>
http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to