[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is (require-library "xxxx.ss" "yyyy") valid syntax
Quoting Jeffrey Stephens:
> Though referenced in the DrScheme/Mzscheme documentation,
> I get the error "reference to undefined identifier" whenever I try to use
> this construct, as, for example,
>
> (require-library "init.ss" "slibinit")
>
> What am I doing wrong? Thanks in advance.
Are you using 199.X? If so, `require-library' has been replaced by a
module-based `require' form.
Top-level usage of `require' is similar to `require-library'. For
example,
(require-library "cmdline.ss") ;; in 103.X
to get MzLib's cmdline tools, is now
(require (lib "cmdline.ss")) ;; in 199.X
Matthew