6 Using Lindenmayer programs as libraries

Each #lang lindenmayer module exports a single function for each lindenmayer system in the file. The exports are named l-system0, l-system1, l-system2, etc.

Each export is bound to a function that accepts a hash that can change the values of the ## variables ## section of the lindenmayer program. The result is the result of the finish function if there is one. If there isn’t one, the function will print to the result of current-output-port.