[plt-scheme] using swindle within a module

From: Chris Wright (chris.wright at southernhealth.org.au)
Date: Thu Aug 17 07:17:29 EDT 2006

I am trying to wrap some simple swindle code in a module

(module beliefs mzscheme
  (require (lib "swindle.ss" "swindle"))

  (defclass test ()
    (h :initializer (lambda () (make-hash-table))
        :accessor h))

  (provide test)

but evaluation of this code gives:

Welcome to DrScheme, version 350.
Language: Pretty Big (includes MrEd and Advanced Student).
module: identifier already imported (from a different source) in: set!-values

I would be grateful for any help



Posted on the users mailing list.