Thank you very much
all the information were super
I got some problem on the difference between atom variable and list of
single element
that is clear now

Paolo

On Wed, Jul 8, 2015 at 1:19 PM, 'Bo Jacoby' via Programming <
[email protected]> wrote:

> I wonder who takes away the linefeeds from my emails to programming forum.
> They are incomprehensible anyway so further destruction is not needed. :)
>
>
>
>      Den 13:00 onsdag den 8. juli 2015 skrev Joe Bogner <
> [email protected]>:
>
>
>
>  Good question! That has tripped up many people (including myself)
>
> Elaborating on both fine answers:
>
> If you aren't sure why you need enclose the atom in a list, this might
> help:
>
> Question: What are the shapes of each of the items in the list?
>
>  $ each ;: 'cc dd f h gg zz'
> ┌─┬─┬─┬─┬─┬─┐
> │2│2│1│1│2│2│
> └─┴─┴─┴─┴─┴─┘
>
> Question: What is the shape of a boxed atom?
>   $ <'h'
>
> (empty) -- it's not a list
>
> Another point from NuVoc that might help:
>
> http://www.jsoftware.com/jwiki/Vocabulary/ecapdot
>
> "Create a Boolean array indicating starting points in y of subarrays
> equal to x" -- see point above about <'h' not being a list and
> therefore no subarray will equal to it
>
>
>
> On Wed, Jul 8, 2015 at 6:04 AM, Brian Schott <[email protected]>
> wrote:
> > Elaborating on Bo's fine answer and (hopefully) adding line feeds.
> >
> >    (<'h') E. each  a
> > ┌───┬───┬─┬─┬───┬───┐
> > │0 0│0 0│0│1│0 0│0 0│
> > └───┴───┴─┴─┴───┴───┘
> >    (<,'h') E.  a
> > 0 0 0 1 0 0
> >    (<,'dd') E.  a
> > 0 1 0 0 0 0
> >
> >
> >
> >
> > --
> > (B=)
> > ----------------------------------------------------------------------
> > 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
>



-- 
We are made of star dust
(Carl Sagan)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to