See http://www.jsoftware.com/jwiki/Essays/Reflexive for useful examples of x f x .
See http://www.jsoftware.com/help/dictionary/special.htm under /. (about mid-way down the page) for other uses of f/. ----- Original Message ----- From: Alex Rufon <[EMAIL PROTECTED]> Date: Thursday, September 18, 2008 22:08 Subject: RE: [Jprogramming] Verb Sequence or Ranking problem? To: Programming forum <[email protected]> > Oh. > > I know about the reflexive primitive. But I always thought that you > always need both left and right parameters to switch. This > confused me > because what I understood was that the code was to be run as: > a #/. > |syntax error > | a#/. > > So basically, this is a shortcut/trick where the noun is used as both > left and right parameters. Hmmmm. > > Thanks Rick. I appreciate it. > > r/Alex > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Sherlock, Ric > Sent: Friday, September 19, 2008 12:45 PM > To: Programming forum > Subject: RE: [Jprogramming] Verb Sequence or Ranking problem? > > ---Alex Rufon wrote: > > Can anybody elaborate on #/.~a > > > > I don't understand the presence of ~ in that sequence. Is this > another> example of a fork/hook? > > This is not a tacit expression so it isn't a fork or hook. > See the dictionary page for Reflexive: > http://www.jsoftware.com/help/dictionary/d220v.htm > > #/.~ a > 2 2 1 3 > a #/. a > 2 2 1 3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
