[gambit-list] Telling whether a file has been loaded,	or a function defined?
    Bradley Lucier 
    lucier at math.purdue.edu
       
    Wed Mar  4 00:19:23 EST 2015
    
    
  
Marc:
I've got ##wr-meroon going pretty well, but if Meroon isn't loaded, then 
I get the following warnings when I use certain Meroon functions 
(obviously):
*** WARNING -- "Class-fields" is not defined,
***            referenced in: ("/home/lucier/Downloads/gambit/lib/_gambc.c")
*** WARNING -- "Class-name" is not defined,
***            referenced in: ("/home/lucier/Downloads/gambit/lib/_gambc.c")
*** WARNING -- "Field-name" is not defined,
***            referenced in: ("/home/lucier/Downloads/gambit/lib/_gambc.c")
*** WARNING -- "Mono-Field?" is not defined,
***            referenced in: ("/home/lucier/Downloads/gambit/lib/_gambc.c")
*** WARNING -- "field-defined?" is not defined,
***            referenced in: ("/home/lucier/Downloads/gambit/lib/_gambc.c")
*** WARNING -- "field-length" is not defined,
***            referenced in: ("/home/lucier/Downloads/gambit/lib/_gambc.c")
*** WARNING -- "field-value" is not defined,
***            referenced in: ("/home/lucier/Downloads/gambit/lib/_gambc.c")
*** WARNING -- "object->class" is not defined,
***            referenced in: ("/home/lucier/Downloads/gambit/lib/_gambc.c")
I figure I can get around this by defining non-block dummy procedures 
for these Meroon-defined functions that will be replaced when Meroon is 
loaded.  Perhaps you have a better solution.
But is it possible to tell dynamically whether Meroon (or _meroon.o1, or 
whatever) has been loaded?
Brad
    
    
More information about the Gambit-list
mailing list