ar =: 1 : '5!:1 <''u'''

  [ `(1 ar)`]
┌─┬─────┬─┐
│[│┌─┬─┐│]│
│ ││0│1││ │
│ │└─┴─┘│ │
└─┴─────┴─┘

    [ `(1 ar)`]}
[`1`]}

The above is a user error.  Spec for } requires middle tine to be a verb such 
as: [`1:`]}


this is possibly a lr error, 


[`1`]
|domain error
|       [`1`]

[`1`]}
|domain error
|       [`1`]}


but the following will crash J (804 or 805, qt windows 64bit)


3 [`(1 ar)`]} i.5

even though its hard to accidentally insert a noun into a gerund with `, user 
conjunctions can make it easier to build gerund of mixed types.  Perhaps it is 
worthwhile for },@.,^: to check for verb within gerund, or if the cost is the 
same, to automagically use N"_
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to