On Sat, Jan 26, 2013 at 1:38 AM, Jose Mario Quintana
<[email protected]> wrote:
>> I guess this is the final proof that given J and a sufficiently
>> POWERful
>> AGENDA, you can DO anything!
>
>    agenda=. ]^:(1:`(<'@.'))
>    (atop=. (<'@') agenda 0)

Or:

   a=: ]^:(1:`(<'@.'))&0@<
   atop=: a '@'
   type 'a'
+----+
|verb|
+----+
   type 'atop'
+-----------+
|conjunction|
+-----------+

The pun is different, of course.

Of course, the results are not necessarily consistent:

   a&.> '@&'
+-+-+
|@|&|
+-+-+
   a&> '@&'
@

But I suppose that since we already have inconsistent behavior for
displaying complex objects, maybe that's ok?

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

Reply via email to