[Jprogramming] table challenge in simple J
Linda Alvord
lindaalvord at verizon.net
Mon Nov 21 00:38:15 HKT 2011
This was my table3 in some earlier responses. Read my correspondence with
Kip Murray.
Linda
-----Original Message-----
From: programming-bounces at jsoftware.com
[mailto:programming-bounces at jsoftware.com] On Behalf Of Brian Schott
Sent: Sunday, November 20, 2011 11:08 AM
To: Programming forum
Subject: Re: [Jprogramming] table challenge in simple J
Linda,
I can see no problem with Raul's "Simple J" solution below. Have you
acknowledged or refuted it? I especially like that the columns all
line up in this solution, but the columns do not line up in some of
the other simple j solutions.
a ([ by ] over +/) f. b
+---+-------------------+
| | 0 1 2 3 4|
+---+-------------------+
| 2| 2 3 4 5 6|
| 3| 3 4 5 6 7|
| 5| 5 6 7 8 9|
|100|100 101 102 103 104|
+---+-------------------+
([ by ] over +/) f.
[ ((' ' ; ([: ,. [)) ,. ]) (] ([: ({. ; }.) ([: ": ,)) (+/))
On Mon, Nov 14, 2011 at 12:00 PM, Raul Miller <rauldmiller at gmail.com> wrote:
> Brian Schott reminds me that I should have tested.
>
> Make that:
> a ([ by ] over +/) f. b
>
> [ by ] cannot be simplified, here, because ] supplies the argument to
over.
>
> --
> Raul
>
--
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list