Pascal wrote:
> stripNtriple =: <original> (`:6)
Yes, thanks. That actually is the definition I have in my session here (i.e.
with the `:6 appended) but somehow I must have copy/pasted wrong.
> there doesn't appear to be any difference between knockOut and "_
Yes again. By itself, strip is smart enough to not require the assistance of
(`'') . Essentially because it coerces anything it's given to an a.r. anyway
(that whole N,I thing).
The reason (`'') is included is it was the focus of my message. My original
intent was only to analyze that adverb, what it means, and how it is (or can
be) used. But it also turned out to be a convenient bridge to the tangent on
strip and friends, particularly the symmetry it forms with ("_) . The adverb
("_)(`'') is a pretty little phrase.
If I had to give it a name, I might pick "the butterfly adverb", because its
lightness and its large, symmetric "wings". Anyway, if you don't need the full
power of strip, it's certainly useful if you need only to coerce all input to
boxed nouns. It's also probably easier to remember the little butterfly and its
bright wings when you're lost in the deep wilderness of tacit adverbial
programming (as opposed to 'strip', which I have to write from scratch every
time).
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm