On Fri, 01 May 2009, Don Watson wrote:
> Hi Ric,
>
> You wrote:
>
> > ''Let
> > mean=: (+/y) % #y
> > ssdev=: +/ *: y - mean y
> > var=: (ssdev y) % <:#y
> > stddev=: %: var y
> > )
>
> Tacit J is a central component of J that is introduced early in the
> documentation All I really want is a mode in which I can remove the
> surrounding material and just write:
>
> mean=: (+/y) % #y
> ssdev=: +/ *: y - mean y
> var=: (ssdev y) % <:#y
> stddev=: %: var y
> stddev2=: %: (% <:#y) * +/ *: y - (+/y) % #y
>
> That's not a lot to ask. I'll give up on replacing the x and y with [ and ].
You've just completed a circle. The above examples are explicit. Are
you just want J interpreter to prepend the missing ` 13 : ' whenever
the rightmost token is y or x?
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩266 王昌齡 春宮曲
昨夜風開露井桃 未央前殿月輪高 平陽歌舞新承寵 簾外春寒賜錦袍
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm