Hello everyone, Consider this example:
(define foo-class% (class object% (define/public (get-foo) "foo"))) (define-syntax (say-hello stx) (syntax-case stx () [(_ foo) (with-syntax ((foo-name (send #'foo get-foo))) #'(display (string-append "Hello " foo-name)))])) When the macro is called: > (say-hello (make-object foo-class%)) . . send: target is not an object target: #<syntax:3:13 (make-object foo-class%)> method name: get-foo Does anyone know how can I call "get-foo" inside the macro? Thanks. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.