From: ········@notam02.no
Subject: mimicking multiple namespaces in Scheme?
Date: 
Message-ID: <copk7bvm7pk.fsf@notam02.uio.no>
While translating some CL-code to Scheme, Im looking for a clever
way in Scheme to mimick CL's separate namespaces for procedures
and variables (and possibly other namespaces) in a transparent
way.

Ive read through the threads re. namespaces from the previous
weeks (on comp.lang.lisp) without getting any further myself.
What would be elegant ways of approaching this?

Heres something id like to be able to do in Scheme (in Scheme
here, "defvar" being a syntactic extension):

> (define item args
    (apply make-item args))
> (defvar item (item 'a 1))
> (defvar totem (item 'b 2))

and have

> (list (item 'a 1) (item 'b 2))

and

> (list item totem)

return the same result?

Thanks!

Anders Vinjar - composer