this is scary

   a: -: <$0
1
   a: = <$0
1
   a: -: &> <$0
1
   a: -: each <$0
┌─┐
│1│
└─┘




----- Original Message -----
From: Henry Rich <[email protected]>
To: Programming forum <[email protected]>
Cc: 
Sent: Saturday, February 15, 2014 12:28:06 PM
Subject: [Jprogramming] a: is not <$0

The Dictionary defines a: as <$0, but in fact the two are not 
interchangeable.

The challenge is to demonstrate this: write a verb that produces a 
result when applied to a:, but gives domain error when applied to <$0 .

    test a:

    test <$0
|domain error: test
|       test<$0


Then, give a correct definition of a: .

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

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

Reply via email to