The Pollen Cookbook

Things you should know before reading

This book should not be your introduction to Pollen and Racket. You probably will not get anything out of this book unless you first read the Pollen documentation and work through the tutorials.

The section on X-expressions is of particular importance. You should also read the documentation for the txexpr package. + This is a standalone package in Racket. It is separate from Pollen (and therefore, so is its documentation), but because it is one of Pollen’s dependencies, it gets installed automatically when you install Pollen. All Pollen documents are compiled into tagged X-expressions, so learning how to recognize, generate and manipulate valid tagged X-expressions is a critical skill. In particular, many of the error messages you get when you’re implementing something new will ultimately trace back to an invalid tagged X-expression being generated somewhere within your document.

This book also assumes you understand HTML and CSS.