Article View: comp.lang.misc
Article #146Re: Types, arrays, generality, and notation (was: Fortran90 and Arrays)
From: Raul Deluth Miller-Rockwell
Date: Sat, 11 Apr 1992 02:48
Date: Sat, 11 Apr 1992 02:48
41 lines
2531 bytes
2531 bytes
Stephen P Spackman: J is just willing to reinterpret what are the "cells" and what is the "carrier" on an operation-to-operation basis - one of its few really excellent notions, that other languages need to pick up. You are right, though: this information should be encoded in the definition of the operator, not at the callpoint. Um... but J does encode this information at the definition of the operator. It's just that J makes operator definition so easy that operators can be defined and used in place. I happen to like this feature. Anonymous function declarations can be very expressive. (And our interlocutor is evading an important issue by saying that "names in J are no more significant than parentheses", because they seem to have strange interations with the more tightly-binding modifiers, like " - or else that " COULD have been in the definition). huh? |A similar function can be defined for PSCAN (Fortran already uses |the name SCAN for something else) which could be written to |perform the same `adverb' that `\' does in APL and J. The |exception would be that the associativity flag would be limited to |left-to-right or right-to-left (scanning doesn't make much sense |as a completely associative process - partial results appearing in |any order?). Makes perfect sense, actually: this is the precise structure of a search tree (under the interpretation I gave above). Just because BOTH FORTRAN and J are too broken to represent trivial data structures.... ;-). I'm sorry, even after reading your search tree structure (elided to try and keep the reading load down) I'm not sure what it is you think is missing from J. -- Raul Deluth Miller-Rockwell <rockwell@socrates.umd.edu>
Technical Details
Message-ID:
<ROCKWELL.92Apr10214832@socrates.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!socrates!socrates!rockwellReferences:
<ROCKWELL.92Mar21001252@socrates.umd.edu> <ROCKWELL.92Apr8164502@socrates.umd.edu> <1992Apr9.003132.5175@newshost.lanl.gov> <STEPHEN.92Apr9220641@estragon.uchicago.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!socrates!socrates!rockwell From: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell) Subject: Re: Types, arrays, generality, and notation (was: Fortran90 and Arrays) In-Reply-To: stephen@estragon.uchicago.edu's message of 10 Apr 92 03:06:33 GMT Message-ID: <ROCKWELL.92Apr10214832@socrates.umd.edu> Sender: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell) Organization: Traveller References: <ROCKWELL.92Mar21001252@socrates.umd.edu> <ROCKWELL.92Apr8164502@socrates.umd.edu> <1992Apr9.003132.5175@newshost.lanl.gov> <STEPHEN.92Apr9220641@estragon.uchicago.edu> Date: Sat, 11 Apr 1992 02:48:32 GMT Lines: 41