This WWW tutorial presents a tutorial for the CLEAN Functional Programming Language (Version 0.8.4), in the form of a stepwise development of two programs for animating Conway's Game of Life. Figure 7 shows the second program, which demonstrates the power of the novel and elegant input/output and Graphical User Interface (GUI) facilities of CLEAN, and contains most of the features required in useful applications software. Suggestions on suitable programming style are also included.
This tutorial is based on the paper The Game of Life: A CLEAN Programming Tutorial and Case Study by Anthony Dekker which appeared in ACM SIGPLAN Notices, Volume 29, No. 9, September 1994 (pages 91-104) and as Technical Report TRB5/94, Department of ISCS, National University of Singapore, May 1994.
A Macintosh SEA/HQX file (110K) or a Unix tar file (80K) containing the tutorial in the form of literate LaTeX/CLEAN programs are also available by emailing dekkerACM.org
UPDATE: See also my Windows Vista Gadget for the Game of Life [11k] or this paper for some theoretical issues involved in the Game of Life, or, of course, the Wikipedia article on the Game of Life.