Say for instance, I have a class in "tastyfish.rkt"

#lang racket
(require racket/class)

; What `provide` statement would I put here so that another module
; (like "market.rkt" for instance) can require fish%?

(define fish%
  (class object%
    (super-new)
    (init size)
    (define current-size size)
    (define/public (get-size)
      current-size)))

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CACgrOxKFfpGRCPumxgzkiznFGE637ObHVT%3DXM9mt9iRnj-ja9A%40mail.gmail.com.

Reply via email to