Re: defined?

Mark Galassi (rosalia@nis.lanl.gov)
Thu, 27 Feb 1997 11:20:24 -0700

Marius> Is anyone using the builtin function "defined?" ? I made

I use it to make sure that I don't load a module twice (kind of like
the C __FILE_H_ mechanism).

Marius> If you really need it, you can define it yourself with

Marius> (define (defined? symbol) (module-defined?
Marius> (current-module) symbol))

I guess I can go with that, but (defined? ...) was a documented SCM
feature, whereas the module system is ill-defined and not documented
in its current form.

Still, eventually I will be happy with that substitute.