Re: Difference between ' and : symbols
- From: Tim X <timx@xxxxxxxxxxxxxxxxx>
- Date: 09 Jul 2005 17:55:32 +1000
I thought Christopher's explination was very clear and easy to
follow. However, as someone learning lisp, it did raise some questions
for me on what is the accepted or preffered style. If you can do
(in-package "MY-PACKAGE")
(in-package MY-PACKAGE)
(in-package :MY-PACKAGE)
which is considered to be the better style? From reading of CLTL2, it
would appear (in-package "MY-PACKAGE") is considered to be "safer" -
it certainly may indicate less 'work' required in that you don't have
to find out the name of the symbol, but my personal preference is for
either a symbol or keyword.
As I would like to develop good habits over bad ones, I'd be intersted
in knowing what is the preferred style.
Tim
--
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you
really need to send mail, you should be able to work it out!
.
- Follow-Ups:
- Re: Difference between ' and : symbols
- From: Robert Uhl
- Re: Difference between ' and : symbols
- From: Joe Marshall
- Re: Difference between ' and : symbols
- From: Pascal Bourguignon
- Re: Difference between ' and : symbols
- From: Edi Weitz
- Re: Difference between ' and : symbols
- References:
- Difference between ' and : symbols
- From: jonathon
- Re: Difference between ' and : symbols
- From: Christopher C. Stacy
- Difference between ' and : symbols
- Prev by Date: Re: Martin Fowler talks about Lisp...
- Next by Date: Re: Lisp/Unix impedance [a programming challenge]
- Previous by thread: Re: Difference between ' and : symbols
- Next by thread: Re: Difference between ' and : symbols
- Index(es):
Relevant Pages
|