Roger K. W. Hui

Learn More
Gerunds, verbal forms that can be used as nouns, are recognized as having utility in the realm of programming languages. We show that gerunds can be viewed as arrays of atomic representations of verbs (functions), in a way which is consistent with the syntax and semantics of APL, and which allows verbs to be first class objects in the language. We define(More)
Rank is elucidated through an executable model. Integrated rank support for specific functions can be vastly more efficient than the general algorithm in computing <italic>v"r</italic>, and uniform verbs provide a way to extend the more efficient implementation to a large class of verbs.
Permission to copy without fee all or part of this material is granted provided that the copies are not made or distributed for direct commercial advantage, the ACM copyright notice and the title of the publication and its date appear, and notice is given that copying is by permission of the Association for Computing Machinery. To copy otherwise, or to(More)
Recursive definitions are important tools in mathematics and in programming. They can be represented in a variety of ways, and in this paper we examine the relations and translations between them, using a range of examples for illustration. These examples begin with recursive definitions expressed in conventional mathematical notation, in SHARP APL, and in(More)
Permission to copy without fee all or part of this material is granted provided that the copies are not made or distributed for direct commercial advantage, the ACM copyright notice and the title of the publication and its date appear, and notice is given that copying is by permission of the Association for Computing Machinery. To copy otherwise, or to(More)
PemTnission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage, and that copies bear this notice and the full citation on the fimt page, To copy otherwise, to republish, to post on servers or to redistdbute to(More)
We believe that the design of APL was also affected in important respects by a number of procedures and circumstances. Firstly, from its inception APL has been developed by using it in a succession of areas. This emphasis on application clearly favors practicality and simplicity. The treatment of many different areas fostered generalization &#8230; &#8212;(More)
ARRAYS. A P L arrays were based on the treatment in tensor analysis, with ranks 0, 1, 2, etc. assigned to scahrs, vectors, matrices, etc. This led to the fruitful notion of assigning corresponding ranks to functions, as was done in S H A R P A P L [1] and in J [2]. O P E R A T O R S . The notion, and name, of operators were adopted from Heaviside's(More)
  • 1