exercise 2019/04

2020-04-18 Thread Otto Diesenbacher-Reinmüller
4: Knight Moves Consider a chess board as an 8×8 matrix withsquare (1 1) in the upper left corner andsquare (8 8) in the lower right corner. Forthose not familiar with the game a chess, the knight, generally depicted as a horse, canmove 2 spaces right or left and then 1 space upor down, or 2 space

Re: Parsing entities in HTML input

2020-04-18 Thread Kacper Gutowski
On Sat, Apr 18, 2020 at 12:36:19PM +0200, Dr. Jürgen Sauermann wrote: Fixed in SVN 1264. On Sat, Apr 18, 2020 at 03:47:31PM +0200, Dr. Jürgen Sauermann wrote: the ]DOXY problem should be fixed in *SVN **1265*. Tanks and thanks! Both look good now. -k

Re: exercise 2019/03

2020-04-18 Thread Ala'a Mohammad
Using a separate function for rounding (from Dyalog book with re formatting), thus usable in other contexts. ∇R← N round V;S ⍝ N: number of decimals ⍝ V: value to be rounded S←10⋆N ⍝ Scale R←(⌊.5+V×S)÷S ⍝ Result ∇R←gdist M; G;F;S;P ⍝ R: Result ⍝ M: numerical grades G ← 'ABCDF' ⍝ G: chara

Re: David Lamkins' APL repo moved

2020-04-18 Thread Dr . Jürgen Sauermann
Hi Blake, thanks for hosting David's Repos. I have updated our Community page with the new links. Best Regards, Jürgen On 4/8/20 9:06 PM, Blake McBride wrote: Greetings, With David

Re: Parsing entities in HTML input

2020-04-18 Thread Dr . Jürgen Sauermann
Hi Kacper, the ]DOXY problem should be fixed in *SVN **1265*. Best Regards, Jürgen On 4/17/20 7:04 PM, Kacper Gutowski wrote: > On Thu, Apr 16, 2020 at 03:29:08PM +0200, Dr. Jürgen Sauermann wrote: >> fixed in SVN 1262. > Thanks! > Angle brackets are now correctly converted at the end of lines

Re: exercise 2019/03

2020-04-18 Thread Hans-Peter Sorge
Hi, I made some 'adjustments', specifically join the table columns from intermediate results use disclose to create the 3rd table column. Also keeps the data 'flat' until 'structure' is required.   ∇gradeDistri [⎕]∇     ∇ [0]   table←gradeDistri_2 grades;allgr [1]   allgr←'ABCDF'

Re: Division by 0

2020-04-18 Thread Hans-Peter Sorge
hmm 45 years of APL - and did not run across such case :-)) Am 18.04.20 um 06:36 schrieb Kacper Gutowski: This is actually correct. It's what APL is supposed to do. Domain of division is extended to include 0÷0, but not any other numbers divided by zero. -k On Fri, Apr 17, 2020 at 10:26:09

Re: Parsing entities in HTML input

2020-04-18 Thread Dr . Jürgen Sauermann
Hi Kacper, yes, I thought i spotted a fault but in fact I created a new one. Fixed in SVN 1264. I will look into the call graph. There are some limits though as to what ]DOXY can detect. In you example it could have detected that date is