[plt-scheme] define/public doesn't like my macro

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Thu Jun 8 06:59:19 EDT 2006

On a similar subject:
Why can't I use foo method in place of for-each procedure argument?
(module foo mzscheme

  (require (lib "class.ss"))

  (define foo%
    (class object%
      (define/public (foo x) (display x))
      (define/public (foo* . x) (for-each foo x))
      (super-new)))
  )

class: misuse of method (not in application) in: foo

Paulo Matos

On 08/06/06, Paulo J. Matos <pocmatos at gmail.com> wrote:
> You're right. It's working. I should be more careful. I forgot to
> require a module. :-|
>
> Sorry and thanks,
>
>
> --
> Paulo Jorge Matos - pocm at sat inesc-id pt
> Web: http://sat.inesc-id.pt/~pocm
> Computer and Software Engineering
> INESC-ID - SAT Group
>


-- 
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Posted on the users mailing list.