Suppose that ~. (and perhaps some relatives) can be implemented much more
efficiently if no guarantee is made about the order of the result. Is it
too much of an abuse of notation to use ({~?~@#)@~. as a special
combination to invoke such an algorithm? If so, what would be better?
Most special combinations would not incur a performance penalty vs an
alternate expression of the same semantics on an implementation which did
not recognise special combinations. But I cannot think of any way of
expressing ambivalence regarding the order of a result other than
shuffling it.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm