Hey Skip,
You don't need the ]'s to bring in the right argument in tacit. In fact they
get in the way because they make forks into hook-forks with the extra
(unnecessary) verb.
This is only true for monadic verbs. Dyadic require @:] or @:[ where applicable
to discern the right from the left, but v@:] is still just one verb so it does
not create the fork string issue.
|syntax error
| c=.( ' '~:":])#":]
c =. (' '~:":])#":
|syntax error
| c=.( ' '~:":])#":
c =. (' '~:":)#":
c 0 0 2 3 0 4
002304
or you could use
13 : '('' ''~:":y)#":y'
": #~ ' ' ~: ":
c1=.": #~ ' ' ~: ":
c1 0 0 2 3 0 4
002304
Cheers, bob
> On Sep 24, 2016, at 7:33 AM, Skip Cave <[email protected]> wrote:
>
> c =. (' '~:":])#":]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm