Re: [Jprogramming] Applying a cyclic gerund

2023-02-26 Thread 'Mike Day' via Programming
This is quite nice, though nothing to do with gerunds as such! ; ]&.":each '3';33;'9 99';12 13;1;2;'10 11 1e6' 3 33 9 99 12 13 1 2 10 11 100 I have been known to use ".@": - but using under only just occurred to me! This also works: abc =. 2345 ; ]&.": each '3';33;'9 99';12

Re: [Jprogramming] Applying a cyclic gerund

2023-02-26 Thread Devon McCormick
If you don't want to be at the mercy of your data's ordering, you could selectively convert to numeric or not: isChar=: ' ' -: [: ({.) 0 $ ] ; ((]`".) @. isChar) &.> '3';33;'9 99';12 13;1;2;'10 11 1e6' 3 33 9 99 12 13 1 2 10 11 100 >: ; ((]`".) @. isChar) &.> '3';33;'9 99';12

Re: [Jprogramming] Applying a cyclic gerund

2023-02-26 Thread Gilles Kirouac
Ah! ah! (,: datatype each) ]`(".each)"0 list ┌───┬───┬───┬┬───┬┐ │foo│1 │bar│2.17│baz│3.14│ ├───┼───┼───┼┼───┼┤ │literal│boolean│literal│floating│literal│floating│

[Jprogramming] Report of the J Wiki Meeting of February 23, 2023

2023-02-26 Thread 'robert therriault' via Programming
== Report of Meeting 2023-02-23 == Present: Art Anger, Bryce LeCates, Devon McCormick, Raul Miller, and Bob Therriault 1) We were joined by Bryce Lecates, a newcomer to J who is interested in the development of the wiki. Bryce was invited to join the wiki as a user. He indicated that there

Re: [Jprogramming] Applying a cyclic gerund

2023-02-26 Thread Devon McCormick
Looking at what I sent, below your message, it looks fine to me albeit a little hard to read with all the indenting, especially since the indent character is ">": >>> 3 33 9 99 12 13 1 2 10 11 100 : ; ((]`".) @. isChar) &.> '3';33;'9 99';12 13;1;2;'10 11 1e6' >>> 4 34 10 100 13 14 2 3 11

Re: [Jprogramming] Applying a cyclic gerund

2023-02-26 Thread 'Michael Day' via Programming
Oh, sorry. However, if you look at the copy of your message below my reply,   both still appearing hereunder,  you'll see something rather like | |: ; ((]`".) @. isChar) &.> '3';33;'9 99';12 13;1;2;'10 11 1e6' | (I've typed in the 3 vertical bars at the left-hand side!) In any case,  it looked

Re: [Jprogramming] Applying a cyclic gerund

2023-02-26 Thread Devon McCormick
The second result was simply an increment to demonstrate that the result is numeric. On Sun, Feb 26, 2023 at 6:28 AM 'Mike Day' via Programming < programm...@jsoftware.com> wrote: > This is quite nice, though nothing to do with gerunds as such! > >; ]&.":each '3';33;'9 99';12 13;1;2;'10 11

Re: [Jprogramming] Math/calculus simplify trig pull request

2023-02-26 Thread Raul Miller
If I remember correctly, the "0 limitation there was because d. was explicitly rank 0 -- https://www.jsoftware.com/help/dictionary/dddot.htm Meanwhile, of course, D. dealt with verbs at rank -- https://www.jsoftware.com/help/dictionary/ddcapdot.htm -- but getting that right would have been a bit