Docs for compose, in section 6.9.6, might better read "Compose proc with the procedures in rest, such that [the procedures in rest are applied in order, followed by] proc last, and return the resulting procedure. The given procedures must have compatible arity."  The existing text seems to imply that only the last procedure in rest is executed before proc.

Dave