[Jprogramming] A Complaint with Format
robert therriault
bobtherriault at mac.com
Sat Sep 24 15:48:25 UTC 2016
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 <skip at caveconsulting.com> wrote:
>
> c =. (' '~:":])#":]
More information about the Programming
mailing list