|
ABSTRACT
Any expression in combinatory logic made up of combinators and variables can be abstracted into a pure combinator expression applied to a sequence of variables. Because there are great similarities between combinators and certain APL operators, a similar result obtains in many APL dialects. However, rewriting arbitrary APL expressions as pure functions requires new operators, not provided as primitives by any dialect. This paper defines functional completeness, gives a construction for achieving it, proves a conjecture of Kenneth Iverson that J is functionally complete, and shows how closely the major APL dialects have approached these conditions.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
 |
2
|
|
 |
3
|
|
| |
4
|
|
| |
5
|
Haskell B~ Curry and Richard Feys, Combinatory Logic, North-Holland, (1958).
|
| |
6
|
Kurt G0del, "Uber formal unentscheidbare Satze der Principia Mathematica und verwandter S ysteme I", Monatshefte fiir Mathematik und Physik, Vol. 37, pp. 349-360, (1931). Translated into English as "On Formally Undecidable Propositions of the Principia Mathematica and Related Systems I", in Davis, The Undecidable, Raven Press, (1965).
|
 |
7
|
|
 |
8
|
|
 |
9
|
|
| |
10
|
international Standards Organisation, Programming Language APL, ISO standard 8485, (1989).
|
| |
11
|
International Standards Organisation. Programming Language APL, Extended, Draft Proposal, Eugene McDonnell, Editor, (October 1990).
|
 |
12
|
|
 |
13
|
|
 |
14
|
|
| |
15
|
Kenneth Iverson, personal communication, (1990).
|
| |
16
|
A. A. Markov, "Teoria Algorifmov" (Theory of Algorithms), Trudy Mat. Inst. Steklov , 38, pp. 176-189.
|
| |
17
|
Eugene McDonnell, The Four Cube Problem, APL Press, Weed, CA, (1981).
|
| |
18
|
Eugene McDonnell, oral presentation, APL90, (Aug. 1990).
|
| |
19
|
|
| |
20
|
Emil Post, "Formal Reduction of the General Combinatorial Decision Problem", American Journal of Mathematics, 65, pp. 197-215, (1943).
|
| |
21
|
Reuter:file, Inc., SAX Language, Edition 1.2, (March 30, 1989).
|
| |
22
|
M. SchOnfinkel, "f, Jber die Bausteine der mathematischen Logik", Mathematischen Annalen, 92, pp. 305--584, (1924).
|
| |
23
|
Hai-Chen Tu, FAC: Functional Array Calculator and its Application to APL and Functional Programming, YALEU/DCS/TR-468, Yale University, New Haven, CT, (Apr. 1986).
|
| |
24
|
Alan Turing, "On Computable Numbers with an Application to the Entscheidungsproblem", Proceedings of the London Mathematical Society, 42, pp. 230-265, (1936).
|
|