[Jprogramming] Constant functions
Ian Clark
earthspotty at googlemail.com
Mon Feb 15 21:56:33 HKT 2010
Just for the sake of precision in NuVoc:
With what release of J was this feature introduced?
(NOUN VERB VERB) --> (NOUN"_ VERB VERB)
BTW thank you everybody, I've incorporated your suggestions in
http://www.jsoftware.com/jwiki/Vocabulary/zeroco
Ian
On Sun, Feb 14, 2010 at 2:52 PM, Raul Miller <rauldmiller at gmail.com> wrote:
> On Sun, Feb 14, 2010 at 9:43 AM, Ian Clark <earthspotty at googlemail.com> wrote:
>> Does anyone have a really good example of using a constant function
>> (e.g. 0: 1: ...) where it is actually necessary?
>> Gene McDonnell uses a lot of them in At Play With J, but in the
>> examples I've tried, 0 works just as well as 0: ...and so on.
>
> After At Play With J was written, J was changed so that expressions
> of the form (NOUN VERB VERB) would be treated as if they were
> the fork (NOUN"_ VERB VERB). In other words, 0 is a constant
> function in the examples you were suggesting.
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list