Pure Programming Examples

To whet your appetite, here are some programming examples for your browsing pleasure. All examples are available as beautified html with syntax highlighting and as plain source scripts. (In case you want to format your own Pure sources as html, there's a language definition for Andre Simon's highlight program included in the Pure source tarball.)

Also have a look at the standard library sources. These are provided here mostly for documentation purposes, but also contain a bunch of instructive definitions.