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: Kon Lovett
Subject: Re: [Chicken-users] Re: Finding it unclear how to use sxml-match egg (Ian Oversby)
Date: Wed, 2 Aug 2006 10:55:34 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Aug 2, 2006, at 10:20 AM, Ian Oversby wrote:

(require-extension syntax-case)
(require-extension htmlprag)
(require-extension sxml-match)

Did you (import sxml-matcher)?

Reed Sheridan

"sxml-match" or "sxml-matcher".

I used the following line:

(require-extension syntax-case)

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


Ian




_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iEYEARECAAYFAkTQ5xYACgkQJJNoeGe+5O5B1gCeKRQJBWIdtkaxZ8XWAOVxZOM0
o8EAnRXtC7DFgx03GJVeAGVMPXdBfS4X
=yDyP
-----END PGP SIGNATURE-----




reply via email to

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