TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

42 点作者 uros643超过 14 年前

2 条评论

zachbeane超过 14 年前
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.
chalst超过 14 年前
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.