Re: ⎕PLOT library change

2020-08-06 Thread Louis Chretien via Bugs and suggestions for GNU APL
I just updated to 1329, same error message. Here’s the ./configure output: Updated to revision 1329. Mac-Pro-Louis:Subversion lchretien$ ./build-apl.sh checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suff

Re: *** Spam *** Re: ⎕PLOT library change

2020-08-06 Thread Dr . Jürgen Sauermann
Hi Louis, rather strange. All ./configure tests tell us that libX11 is not present. Nevertheless -lX11 shows up in the link command below. Under normal circumstances a library should not show up in a link command if the library has been tested t

Format by example

2020-08-06 Thread Bill Daly
I was not really sure of how format by example worked:   'This is a description 55,550.' ⍕ t1[1;1] == Assertion failed: row.size() == format.size() in Function:  format_by_example in file:  Bif_F12_FORMAT

Potential problem in diadic iota (⍳) or in Pick (⊃)

2020-08-06 Thread Christian Robert
Can someone help me debug this function (fasteach). I'm not the author but from what I've read it may be a faster than the "each" Operator especially when a few unique numbers in a large array ∇z←test;⎕RL;t;i;r ⎕RL←0 i←20 Loop: t←? 1000 ⍴ i i,r←t ≡ 2÷⍨ {⍵×2} fasteach t →(r=0)/Fail i←i+1 →L

Re: Potential problem in diadic iota (⍳) or in Pick (⊃)

2020-08-06 Thread Christian Robert
An other proof (I think) without invoking the "fasteach" operator... ∇test2;z;t;d;shpz;⎕RL;r ⎕RL←0 d←3 Loop: z←(d,d) ⍴ (d×d)?(d×d) shpz←⍴z t←shpz ⍴ ((∪,z) ⍳ ,z) ⊃ ¨ {⍵×2} ¨⊂ ,z t←shpz ⍴ t '' d,("False" "True")[(⎕io+r←z≡t÷2)] z (t÷2) →(r≠1)/Fail d←d+1 →(d<10)/Loop Fail: ∇ test2 3 Tr