a Python implementation of parameterize and SRFI 39