Re: More questions about exported symbols and general style.
- From: Zach Beane <xach@xxxxxxxx>
- Date: 27 Dec 2006 12:10:57 -0500
"Pillsy" <pillsbury@xxxxxxxxx> writes:
Well, two questions about exporting symbols, really. Say I want to set
up bindings to captured variables (like IT in anaphoric macros) in
packages that I'll be using. Do I want to just export IT and friends,
or should I walk through the code and replace them with gensyms or
something?
This is a bit of a tangent, but: don't write anaphoric macros. Making
names magically spring into existence without visible bindings is not
very Lispy.
When bindings are explicit, you don't have to worry about exporting
IT; the user can just use a symbol of their choosing. Plus, it nests
properly.
Zach
.
- Follow-Ups:
- Re: More questions about exported symbols and general style.
- From: Ken Tilton
- Re: More questions about exported symbols and general style.
- From: Pillsy
- Re: More questions about exported symbols and general style.
- References:
- Prev by Date: More questions about exported symbols and general style.
- Next by Date: Re: More questions about exported symbols and general style.
- Previous by thread: More questions about exported symbols and general style.
- Next by thread: Re: More questions about exported symbols and general style.
- Index(es):
Relevant Pages
|