Rewrite generate() documentation
Provide an expression equivalent to the example function
Add another example function that has no expression equivalent