On Thu, Jan 31, 2013 at 5:51 AM, Linda Alvord <[email protected]> wrote:
>  Maybe it would be useful for J to have a "beginner tacit" and an "advanced
> tacit".
>
>   t1=:([: ^. [) + [: ^. ]
>   t2=:+&^.
>
> Would it then be possible for J to translate:
>
>    t1 into t2
>    t2 into t1
>
> It might make learning both easier.

Personally, if I were to define a "beginner tacit" I would eliminate
parenthesis, and ask that every parenthesized expression be named and
that all naes be meaningful.

This means t1 might instead be:

logLeft=: [: ^. [
logSum=: logLeft + [: ^. ]

And, yes, from my point of view, the +&^. definition is simpler than
the above - but only after I have defined & adequately.

Meanwhile, as a J lesson plan, I think it probably is viable to
structure the lessons around the parts of speech and the grammar
structure described at the bottom of
http://www.jsoftware.com/docs/help701/dictionary/dicte.htm

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to