chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Re: Finding it unclear how to use sxml-match egg (Ia


From: Ian Oversby
Subject: Re: [Chicken-users] Re: Finding it unclear how to use sxml-match egg (Ian Oversb
Date: Thu, 03 Aug 2006 05:57:54 +0000

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

Okay, thanks very much.  I'll have a look.

Ian






reply via email to

[Prev in Thread] Current Thread [Next in Thread]