include -- r7rs Definition syntax;
Syntax keywords:
path: value of type path-string;Syntax variants:
(_ path |...|)scheme:base -- (scheme base);scheme -- (scheme);(include <string_1> <string_2> ...) (include-ci <string_1> <string_2> ...)Semantics: Both
includeandinclude-citake one or more filenames expressed as string literals, apply an implementation-specific algorithm to find corresponding files, read the contents of the files in the specified order as if by repeated applications ofread, and effectively replace theincludeorinclude-ciexpression with abeginexpression containing what was read from the files. The difference between the two is thatinclude-cireads each file as if it began with the#!fold-casedirective, whileincludedoes not.Note: Implementations are encouraged to search for files in the directory which contains the including file, and to provide a way for users to specify other directories to search.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.