Naturally, Roger is correct. I had mis-remembered the correct distinction between roll and deal.
I constructed the following to show the equivalence of June's original examples, I think. I used ?. in place of ? to eliminate some of the randomness. 3(?.;?.)10 10 10 +-----+-----+ |6 9 1|6 9 1| |6 9 1|6 9 1| |6 9 1|6 9 1| +-----+-----+ 3((([#[)?.]);[?.#)10 +-----+-----+ |6 9 1|6 9 1| |6 9 1|6 9 1| |6 9 1|6 9 1| +-----+-----+ On Tue, Mar 15, 2011 at 11:54 AM, Roger Hui <[email protected]> wrote: > Nope. x ?@$ y is ?x$y which is roll, not deal. > http://www.jsoftware.com/help/release/random.htm#scode > > > > ----- Original Message ----- > From: Brian Schott <[email protected]> > Date: Tuesday, March 15, 2011 8:47 > Subject: Re: [Jprogramming] Deal > To: Programming forum <[email protected]> > >> I believe Roger has been suggesting ?@$ for this sort of deal >> but that >> is irrelevant if you wish to use curry. > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- (B=) <-----my sig Brian Schott ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
