On Jan 16, 2008 4:47 PM, Tracy Harms <[EMAIL PROTECTED]> wrote:
> J does not have any special syntax, so it cannot (I think) satisfy this
> syntax-specific requirement.

J supports various syntactic conventions for lists.  You could say that
list comprehensions are unavoidable in J, and you would not be far
from the truth.

> I can, however, build the list of
> Pythagorean triples.

J also has a Pythagorean Triple lab.

> I notice that the phrase (#~ < Across) has an ambiguity Bruno Daniel
> criticized: whether this is a fork or a hook depends on whether Across
> is verb or adverb.

All uses of names have ambiguities which depend on the values
associated with those names.  Some languages classify some
sets of values as "types" and enforce syntactic differences
such that only one "type" can be validly used with a particular
syntactic structure.

Personally, I would rather that that effort went into clearly documenting
the purpose and domain of the code in question.   Domains only rarely
correspond to "types", in the general case.

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

Reply via email to