On Mon, Apr 6, 2009 at 1:26 PM, Kip Murray <[email protected]> wrote:
> Write verb myst (15 minutes).  Can you write an adverb tab so that
>
>   -tab~ i.4

I came up with:

   myst=:}...@}:@|:^:2@":
   tab=: table (myst@)

But I like Fraser Jackson's approach, which I would implement as:
   myst=: 1 1 }. _1 _1 }. ":

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to