Looking at the text it seems that [. is used mostly (not entirely) to allow multiple verb assignments like
plus =: + [. minus =: - I suggest you define L =: 2 : 'u' (perhaps in your profile, if not then every time you start J) and then write L whenever the text shows [. ]. could be emulated similarly with R =: 2 : 'v' . Another way is to learn about multiple verb assignment, which would render the above as '`plus minus' =: +`- Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Raul Miller > Sent: Wednesday, May 16, 2007 1:13 PM > To: Programming forum > Subject: Re: [Jprogramming] Unsupported conjunction > > On 5/16/07, Tom R <[EMAIL PROTECTED]> wrote: > > I am currently on the nearly vertical J learning curve and > am primarily interested in > > number theory applications. To that end I have been working my way > > through Iverson's "Concrete Math Companion" and have encountered a > > conjunction which no longer works in J601. That conjunction is [. > > Yeah, that doesn't work any more. > > For simple cases, it's equivalent to (2 :'u') but J also no longer > supports the tacit use of conjunctions. (If you supply one of the > arguments, that turns it into an adjective, and J still supports > that. But most likely you'll be running into other cases that > aren't like this.) > > I would guess that the right approach is -- if you can't > figure out how > to do something from concrete math, quote it here and we'll > try to give > you some alternative expressions to satisfy some aspect of that > case. > > FYI, > > -- > 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
