Next: , Previous: , Up: lang   [Index]


1.3 Including source files at expand time

The following bindings are exported by the library (vicare language-extensions include).

Syntax: include filename

Include in the current source file the contents of the file selected by the pathname filename, which must be a string. Everything happens as if the code was present in place of the include form.

Syntax: include/lexical-context filename identifier

Include in the current source file the contents of the file selected by the pathname filename, which must be a string. identifier must be a Scheme identifier and it is used to assign a lexical context to the sourced code.