Abstract
APL derives great expressive power from seemingly trivial features, such as empty arrays, but there is still resistance to the implementation of the elementary trivial functions including left/stop ⊣ and right/pass ⊢, which perform no calculations. This paper defines functional triviality; describes trivial functions and operators and their uses; discusses the mathematical basis of their expressive power; and defines new trivial functions and operators. It urges implementation of several of these functions as primitives for reasons of efficiency and expressiveness, and considers their efficient implementation via idiom recognition.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have