]B=:(<"0)1 2 3 ┌─┬─┬─┐ │1│2│3│ └─┴─┴─┘ <&>B 1 2 3 <&>B ┌─┬─┬─┐ │1│2│3│ └─┴─┴─┘ <>B ┌─────┐ │1 2 3│ └─────┘ <"0>B ┌─┬─┬─┐ │1│2│3│ └─┴─┴─┘ ]A=:'one';'two';'three' ┌───┬───┬─────┐ │one│two│three│ └───┴───┴─────┘ <>A ┌─────┐ │one │ │two │ │three│ └─────┘
<"0>A ┌─┬─┬─┬─┬─┐ │o│n│e│ │ │ ├─┼─┼─┼─┼─┤ │t│w│o│ │ │ ├─┼─┼─┼─┼─┤ │t│h│r│e│e│ └─┴─┴─┴─┴─┘ <"1>A ┌─────┬─────┬─────┐ │one │two │three│ └─────┴─────┴─────┘ -----Original Message----- From: programming-boun...@forums.jsoftware.com [mailto:programming- boun...@forums.jsoftware.com] On Behalf Of Linda Alvord Sent: Saturday, January 12, 2013 3:05 AM To: programm...@jsoftware.com Subject: Re: [Jprogramming] joining to an empty list Raul, your example makes the issue clearer. NB. NB. Compose: u&v y ↔ u v y A=:'one';'two';'three' A ┌───┬───┬─────┐ │one│two│three│ └───┴───┴─────┘ <&>A <&>A ┌───┬───┬─────┐ │one│two│three│ └───┴───┴─────┘ <>A ┌─────┐ │one │ │two │ │three│ └─────┘ -----Original Message----- From: programming-boun...@forums.jsoftware.com [mailto:programming- boun...@forums.jsoftware.com] On Behalf Of Linda Alvord Sent: Friday, January 11, 2013 10:07 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] joining to an empty list I don't understand why f and g do not agree? #&>'one';'two';'three' 3 3 5 f=: 13 :'#&>y' f 'one';'two';'three' 3 3 5 NB. Compose: u&v y ↔ u v y g=: 13 :'#>y' g=: 13 :'#>y' g 'one';'two';'three' 3 Linda -----Original Message----- From: programming-boun...@forums.jsoftware.com [mailto:programming- boun...@forums.jsoftware.com] On Behalf Of Raul Miller Sent: Friday, January 11, 2013 7:46 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] joining to an empty list On Fri, Jan 11, 2013 at 7:38 PM, greg heil <ghei...@gmail.com> wrote: > Dan Bron" <j...@bron.us> Said: Friday, January 11, 2013 2:26:11 PM In: > Re: [Jprogramming] joining to an empty list > >> ...It's not possible to have "ragged" arrays in J... > > That inability is a huge hole in the language. Most other languages > (such as k) deal with this more or less adequately. #&> 'one';'two';'three' 3 3 5 Not seeing the hole. Am I missing something? -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm