(resend, apologise if duplicated)
On Tue, 17 Mar 2009, Steven Taylor wrote:
> silly example
> % 2
> 0.5
>
> 3 (* + %) 2
> 7.5
>
> but let's say for argument sake that I'd like 6.5 instead.
Do you mean 3 (* + %...@]) 2 ?
During execution, whether a verb should be monadic or dyadic is not
determined by the verb itself, but rather from the context, eg in the
pattern
noun verb noun
the verb is expected to be dyadic and will raise a domain error if
the dyad part of verb is not defined. Similarly for the pattern
verb noun
The verb %...@] in the above is still executed as a dyad but only the
left argument is being ignored.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩148 司空曙 喜外弟盧綸見宿
靜夜四無鄰 荒居舊業貧 雨中黃葉樹 燈下白頭人
以我獨沉久 愧君相訪頻 平生自有分 況是蔡家親
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm