|(require ( untyped/unlib/require))|
Utilities for use with statements.
Expands to ( ( "foo.ss") ) for all Scheme source files (".ss" and ".scm" extensions) in path. path must be a string literal.
Known issues: This form is sensitive to the value of and may not be useful in all cases. Future improvements will force path to be relative to the directory containing the current module.
|( id source kw )|
|( (in-id out-id) source kw )|
The two-identifier form binds in-id and out-id to require- and provide-transformers that require and provide modules from the specified library. The single-identifier form expands to the two-identifier form by appending -in and -out to id. If the #:provide keyword is specified, statements are automatically injected for in-id and out-id.
dir-spec must be a string literal, which is expanded to a path using:
( ( ( dir-spec)))
This means platform-specific shorthands such as "~" are valid in directory names. planet-spec must be a shorthand PLaneT package name. Module filenames must end with ".ss".
|; Define (and provide) a-in and a-out:|
|( a ( "foo") #:provide)|
|( (a-in) ; require a/main.ss|
|(a-in [b c]) ; require a/b.ss and a/c.ss|
|(a-in d/e)) ; require a/d/e.ss|
|; Define (but do not provide) x-in and x-out:|
|( x ( untyped/bar:1:2))|
|( (x-in a)) ; require untyped/bar:1:2/a.ss|
|( (x-out a)) ; provide everything from untyped/bar:1:2/a.ss|