Advanced examples

This page contains a listing of more involved examples that show APL in action. While they are fully explained, a basic grasp of APL will greatly help you understand them. If these examples are too complex for you, have a look at our simple examples.


 * Quine — an expression giving itself


 * APL Wiki logo — creating and rendering SVG code


 * Convex Hull — solving a problem that frequently appears in pattern recognition, image processing, statistics and geographic information systems


 * John Scholes' Conway's Game of Life — implementing a cellular automaton


 * Ranking poker hands — so they can be compared and ordered with normal APL functions


 * Palindromic Expression for Phi – through finding a fixpoint