TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Complete Idiot's Guide to Common Lisp Packages [pdf]

42 pointsby uros643over 14 years ago

2 comments

zachbeaneover 14 years ago
This guide refers to outdated and obsolete concepts from CLtL1. I'd recommend reading <a href="http://www.gigamonkeys.com/book/programming-in-the-large-packages-and-symbols.html" rel="nofollow">http://www.gigamonkeys.com/book/programming-in-the-large-pac...</a> from Practical Common Lisp or just the relevant portions of the spec at <a href="http://l1sp.org/cl/11.1.1" rel="nofollow">http://l1sp.org/cl/11.1.1</a> - it's pretty readable. One non-recommended approach: guess and be disappointed when your intuition doesn't match how it actually works.
chalstover 14 years ago
Something worth appreciating is that one of the key motives for incorporating packages into CL were to avoid problems due to non-hygienic macro expansion, because they make the discipline of writing programs that avoid inadvertent capture much easier.<p>It's not quite true to say that packages are to Common Lisp what hygiene is to Scheme, but it is a large part of it. I'd like this paper a little bit more if it had said something about this, but the final thought that <i>Packages control how the reader maps strings onto symbols (and how PRINT maps symbols onto strings), nothing else.</i> is I think helps appreciate the point.