On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Warning: This is intended as a joke and contains no useful information.

I disagree!  I think I see a useful mechanism here, that had never
occured to me before.

  f=. 0 : 'I=:$0'

More specifically, it occurs to me that 0 : can actually be useful:
It is an adjective which asserts that its argument is a noun, which
contains no numbers, and which if unboxed would have a rank less
than 3, and would contain no further boxes.  For example:

  'Hi there' (0 :)
'Hi there'
  1 (0 :)
|domain error: string
|       1 string

Concise assertions can be quite useful, in some contexts.

And, as an added bonus, it can be a syntactically valid mechanism
to insert a smiley into a sentence.

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

Reply via email to