replace defun with scheme-style define (and so add global constant definitions)