I don't like this because usually I don't want to pad each item. If they had the same dimensions I wouldn't box 'em in the first place.
On Tue, Jul 17, 2012 at 3:23 PM, Linda Alvord <[email protected]>wrote: > How does this rank? > > <"1(>x),"1 0>y > ┌───────┬───────┬───────┬───────┐ > │CogitoA│, B│ergo C│sum. D│ > └───────┴───────┴───────┴───────┘ > > Linda > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of Roger Hui > Sent: Tuesday, July 17, 2012 3:36 PM > To: [email protected] > Subject: Re: [Jprogramming] boxing each element > > What could be better is, if you are not just boxing each element but doing > something to each element that may involve boxing it. In such a case f&.> > aka f each may be better. For example: > > x=: ;: 'Cogito, ergo sum.' > x > ┌──────┬─┬────┬────┐ > │Cogito│,│ergo│sum.│ > └──────┴─┴────┴────┘ > y=: 'ABCD' > x ,&.> <"0 y > ┌───────┬──┬─────┬─────┐ > │CogitoA│,B│ergoC│sum.D│ > └───────┴──┴─────┴─────┘ > x ,each <"0 y > ┌───────┬──┬─────┬─────┐ > │CogitoA│,B│ergoC│sum.D│ > └───────┴──┴─────┴─────┘ > > x ,&.> y > ┌───────┬──┬─────┬─────┐ > │CogitoA│,B│ergoC│sum.D│ > └───────┴──┴─────┴─────┘ > x ,each y > ┌───────┬──┬─────┬─────┐ > │CogitoA│,B│ergoC│sum.D│ > └───────┴──┴─────┴─────┘ > > > > On Tue, Jul 17, 2012 at 12:15 PM, Linda Alvord <[email protected] > >wrote: > > > <"0 i.10 > > --T-T-T-T-T-T-T-T-T-┐ > > │0│1│2│3│4│5│6│7│8│9│ > > L-+-+-+-+-+-+-+-+-+-- > > > > I'm not sure what you will call better. > > > > Linda > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Kim > > Kuen Tang > > Sent: Tuesday, July 17, 2012 12:50 PM > > To: [email protected] > > Subject: [Jprogramming] boxing each element > > > > Hi everyone, > > > > is there a better way to box each element ? > > > > 1 <\i.10 > > > > Thx for any comments or solutions. > > > > Kim > > ---------------------------------------------------------------------- > > 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
