[plt-scheme] Are there different pluses?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jun 30 08:27:21 EDT 2004

At Wed, 30 Jun 2004 14:10:03 +0400, Khorev Sergey wrote:
> I think there are different pluses for top-level and module environments.

You're right. The top-level `+' is essentially defined as

  (define + (dynamic-require 'mzscheme '+))


If you evaluate

 (require mzscheme)

at the top level, and then the `+'s are the same.


If you need to recognize both `+'s in a macro, see
`module-or-top-identifier=?' in `(lib "stx.ss" "syntax")'.

Matthew



Posted on the users mailing list.