Does import do something different to require-extension?
Yeah. 'require-extension' is a pkg loader for both compiled & syntax
components. But it presents all exported variables in the global space.
Namespace pollution is a problem everywhere.
The 'syntax-case' extension for Chicken provides both hygienic macros & a
module system. While the pkg is named "sxml-match", the module containing
the actual "stuff" is named "sxml-matcher". With the '(import
sxml-matcher)' you make the contained variables visible in the global
space.
Take a look at the syntax-case.html