-----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
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iEYEARECAAYFAkTQ5xYACgkQJJNoeGe+5O5B1gCeKRQJBWIdtkaxZ8XWAOVxZOM0
o8EAnRXtC7DFgx03GJVeAGVMPXdBfS4X
=yDyP
-----END PGP SIGNATURE-----
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users