simple rules,

think only of fork (not hook).  So odd number of tines, and (0 index) odd verbs 
are dyads, evens are ambivalent (same valence as whole verb)

as an exercise, look at the hook rule, and write an equivalent fork for it.


[: will look the most like explicit.  in a fork,  its only valid in even 
indexes, and it makes its rightmost (an odd) verb monad.

u v x w y explicit can be written as

([: u [: v w)


@: can pretty much always convert a [: expression.  But the binding rule of 
conjunctions is easy to misapply.

+/"1@:=/  is bound as

(+/"1@:=)/ and not the desired expression of

+/"1@:(=/)



----- Original Message -----
From: Skip Cave <s...@caveconsulting.com>
To: "programm...@jsoftware.com" <programm...@jsoftware.com>
Sent: Wednesday, September 14, 2016 1:59 AM
Subject: Re: [Jprogramming] Counting characters

Thanks Bob, Raul, Rob, Pascal, & Henry for your input and help. I still
haven't gotten the hang of how to chain a srting of verbs together without
getting into trouble, but I've found if I keep inserting combinations of
caps, parenthesis, and Ats in random places in the string of verbs, I will
eventually stumble on a workable solution.

Can anyone define a simple single rule for when you are chaining verbs
together, to know when and where to cap, or parenthesize and use At?

Skip

Skip Cave
Cave Consulting LLC

On Tue, Sep 13, 2016 at 10:18 PM, Henry Rich <henryhr...@gmail.com> wrote:

> ts3 =: +/@:=~"0 _
>
> 'abc' ts3 'abcbdefbbcbaa'
>
> 3 5 2
>
>
> Henry Rich
>
> On 9/13/2016 11:13 PM, 'Pascal Jasmin' via Programming wrote:
>
>> 'abc' ts2 'abcbdefbbcbaa'
>>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

>
----------------------------------------------------------------------
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