On "powerloop" constructs in programming languages
Author:
Open Access
- 1 April 1990
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 25 (4) , 73-82
Abstract
A recent article in these Notices [1] gives an overview of proposals and implementations of a "power operator" which (in its simplest form), acting on a nonnegative integer N and on a dyadic function ¤, yields a monadic function which maps any nonnegative number B into B¤B¤B¤...¤B with N occurrences of B. The entire discourse is couched in APL terms, thus unfortunately suggesting a somewhat narrow relevance. To dispel this erroneous impression, we give here a simple example of a programming task where the utility of such a construct appears in a most natural manner, and suggest a possible syntax therefor.Keywords
This publication has 3 references indexed in Scilit:
- A note on the Power Operators “loops are harmful”ACM SIGPLAN Notices, 1989
- Programming in Modula-21983
- The programming language pascalActa Informatica, 1971