(define-syntax define-behavior (syntax-rules () ((define-behavior name body ...) (define (name actor actor) body ...)))) (define-behavior move-left `(move ,(v2 -1 (* (sin (/ (actor-x actor) 50)) 2)))) (move-left (make-actor (v2 0 0) '() '())) > Error: unbound variable: actor