More questions about exported symbols and general style.



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?

Also, I've found I've gotten in the habit of naming captured variables
like IT names that begin with dollar signs, i.e., $IT, so they stand
out a bit. Bad, good or indifferent idea?

Cheers,
Pillsy

.



Relevant Pages

  • Re: More questions about exported symbols and general style.
    ... packages that I'll be using. ... This is a bit of a tangent, but: don't write anaphoric macros. ... names magically spring into existence without visible bindings is not ...
    (comp.lang.lisp)
  • Re: More questions about exported symbols and general style.
    ... up bindings to captured variables (like IT in anaphoric macros) in ... names magically spring into existence without visible bindings is not ... but I do have various function-creating macros inspired by /On ...
    (comp.lang.lisp)
  • Re: More questions about exported symbols and general style.
    ... packages that I'll be using. ... Do I want to just export IT and friends, ... This is a bit of a tangent, but: don't write anaphoric macros. ... names magically spring into existence without visible bindings is not ...
    (comp.lang.lisp)
  • Re: More questions about exported symbols and general style.
    ... up bindings to captured variables (like IT in anaphoric macros) in ... packages that I'll be using. ... names magically spring into existence without visible bindings is not ...
    (comp.lang.lisp)
  • Re: More questions about exported symbols and general style.
    ... packages that I'll be using. ... I've found I've gotten in the habit of naming captured variables ... What you have to keep in mind is that anaphoric macros are only useful as surface syntax. ... If SOME-MACRO expands into a use of AIF (or some other anaphoric macro introducing a new binding for IT), then the inner probably doesn't do what you expect it to. ...
    (comp.lang.lisp)