try-load[procedure] try-load filename
SCM, STklos: if filename exists, loads it and returns #t; otherwise, returns #f.
In Gauche, this behavior is achieved by:
(load filename :paths '() :error-if-not-found #f)
[procedure] try-load filename [module]
STk: you can specify a module in which
the forms in filename are evaluated. See load.
Curiously, STklos dropped the optional module argument.
|