One set of parentheses in your expression was unnecessary:

   wrap=: DELIM&([ , ,~) :.(}.&.|.@}.)

That said, you might consider alternative phrasings.  For example:

   wrap=: DELIM&(, , [) :.(}.@}:)

I hope this helps,

--
Raul


On Tue, Oct 12, 2021 at 10:39 AM Hauke Rehr <[email protected]> wrote:
>
> I also have uses for it but I’m very unexperienced in using
> that resurrected modifier language.
> In a simplified version of an example I have,
> how is the obverse part written without that much paren noise?
>
> wrap =: DELIM&([ , ,~) :. (}.((&.|.)@))
>
>
> Am 05.10.21 um 00:05 schrieb Henry Rich:
> >
> > 2. I found the production (A C)->((x A) C x) useful enough in my work
> > that I gave it a name, the adverbial hook.
>
> --
> ----------------------
> mail written using NEO
> neo-layout.org
>
> ----------------------------------------------------------------------
> 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