Next: , Previous: , Up: scheme library form   [Index]


3.7.1.3 The export specification

An ?export-spec names a set of imported and locally defined bindings to be exported, possibly with different external names. An ?export-spec must have one of the following forms:

?identifier
(rename (?identifier1 ?identifier2)
        …)

In an ?export-spec, an ?identifier names a single binding defined within or imported into the library, where the external name for the export is the same as the name of the binding within the library. A rename spec exports the binding named by ?identifier1 in each (?identifier1 ?identifier2) pairing, using ?identifier2 as the external name.