In the case of f you have three forks - each (***) which  combine to make a
fork. In the case of g you have the two (***) combined with the last * not
in parens making a fork which then combines with the other two * making a
fork. The outer parens show that middle fork.


On Fri, Jul 18, 2014 at 7:08 PM, Linda Alvord <lindaalv...@verizon.net>
wrote:

> I'm really looking for an explation for why they are different. A concept
> that will explain the difference.
>
> Linda
>
> -----Original Message-----
> From: programming-boun...@forums.jsoftware.com
> [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Don Guinn
> Sent: Friday, July 18, 2014 6:08 PM
> To: Programming forum
> Subject: Re: [Jprogramming] trains
>
> g is equivalent to
>    **(*(***)(***))
>
>
> On Fri, Jul 18, 2014 at 4:00 PM, Linda Alvord <lindaalv...@verizon.net>
> wrote:
>
> > Can you use a single phrase that explains this behavior?
> >
> >    f=:(***)(***)(***)
> >    g=:***(***)(***)
> >    h=:(***)(***)***
> >
> >    3 (f-:g) 4
> > 0
> >
> >    3 (f-:h) 4
> > 1
> >
> >    3 (g-:h) 4
> > 0
> >
> > Linda
> >
> >
> > -----Original Message-----
> > From: programming-boun...@forums.jsoftware.com
> > [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of chris
> burke
> > Sent: Friday, July 18, 2014 1:31 PM
> > To: Programming forum
> > Subject: Re: [Jprogramming] trains
> >
> > Often useful with link:
> >
> >
> >    (#;$;]) i.3 4
> >
> > +-+---+---------+
> >
> > |3|3 4|0 1  2  3|
> >
> > | |   |4 5  6  7|
> >
> > | |   |8 9 10 11|
> >
> > +-+---+---------+
> >
> >
> >
> > On Wed, Jul 16, 2014 at 1:26 PM, 'Dan Baronet' via Programming <
> > programm...@jsoftware.com> wrote:
> >
> > > I am looking for good examples of use of trains.
> > > Apart from the classic +/ % #, I can't think of many more.
> > > Anyone with some examples? They can be of any length.
> > > /Dan
> > > ----------------------------------------------------------------------
> > > 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to